2018-09-18 19:22:11 +08:00
|
|
|
<#@ template debug="false" hostspecific="false" language="C#" #>
|
|
|
|
<#@ import namespace="System.Collections.Generic"#>
|
|
|
|
<#@ output extension=".cs" #>
|
|
|
|
<#
|
|
|
|
var controlList = new List<string>
|
|
|
|
{
|
|
|
|
"GrowlDemoCtl",
|
|
|
|
"LoadingDemoCtl",
|
|
|
|
"ImageBrowserDemoCtl",
|
|
|
|
"ColorPickerDemoCtl",
|
|
|
|
"CarouselDemoCtl",
|
|
|
|
"CompareSliderDemoCtl",
|
|
|
|
"TimeBarDemoCtl",
|
|
|
|
"PaginationDemoCtl",
|
|
|
|
"AnimationPathDemoCtl",
|
2018-10-03 21:27:15 +08:00
|
|
|
"StepBarDemoCtl",
|
|
|
|
"ClockDemoCtl",
|
2018-10-09 00:41:11 +08:00
|
|
|
"TimePickerDemoCtl",
|
2018-10-12 20:03:59 +08:00
|
|
|
"CirclePanelDemoCtl",
|
2018-10-19 14:47:43 +08:00
|
|
|
"NumericUpDownDemoCtl",
|
2018-10-23 19:59:59 +08:00
|
|
|
"WindowDemoCtl",
|
2018-10-30 00:16:04 +08:00
|
|
|
"ScrollViewerDemoCtl",
|
2018-11-01 17:45:45 +08:00
|
|
|
"PreviewSliderDemoCtl",
|
2018-11-08 14:28:23 +08:00
|
|
|
"CircleProgressBarDemoCtl",
|
2018-11-17 16:58:11 +08:00
|
|
|
"TextBoxDemoCtl",
|
2018-11-18 00:10:10 +08:00
|
|
|
"ComboBoxDemoCtl",
|
|
|
|
"PasswordBoxDemoCtl"
|
2018-09-18 19:22:11 +08:00
|
|
|
};
|
|
|
|
var styleList = new List<string>
|
|
|
|
{
|
|
|
|
"ButtonDemoCtl",
|
|
|
|
"ToggleButtonDemoCtl",
|
|
|
|
"ExpanderDemoCtl",
|
|
|
|
"ProgressBarDemoCtl",
|
2018-10-03 21:27:15 +08:00
|
|
|
"TabControlDemoCtl",
|
|
|
|
"CalendarDemoCtl",
|
2018-10-09 00:41:11 +08:00
|
|
|
"DatePickerDemoCtl",
|
2018-11-08 14:28:23 +08:00
|
|
|
"NaiveTextBoxDemoCtl",
|
2018-10-09 00:41:11 +08:00
|
|
|
"TextBlockDemoCtl",
|
2018-11-17 16:58:11 +08:00
|
|
|
"NaiveComboBoxDemoCtl",
|
2018-11-18 00:10:10 +08:00
|
|
|
"NaivePasswordBoxDemoCtl",
|
2018-10-19 14:47:43 +08:00
|
|
|
"NaiveTabControlDemoCtl",
|
|
|
|
"DataGridDemoCtl",
|
|
|
|
"CheckBoxDemoCtl",
|
|
|
|
"ListBoxDemoCtl",
|
|
|
|
"MenuDemoCtl",
|
|
|
|
"TreeViewDemoCtl",
|
2018-10-23 19:59:59 +08:00
|
|
|
"BorderDemoCtl",
|
|
|
|
"RadioButtonDemoCtl",
|
2018-10-28 16:44:10 +08:00
|
|
|
"NaiveScrollViewerDemoCtl",
|
2018-10-31 15:49:04 +08:00
|
|
|
"BrushDemoCtl",
|
|
|
|
"SliderDemoCtl"
|
2018-10-23 19:59:59 +08:00
|
|
|
};
|
|
|
|
var windowList = new List<string>
|
|
|
|
{
|
|
|
|
"CommonWindow",
|
|
|
|
"CustomNonClientAreaWindow"
|
2018-09-18 19:22:11 +08:00
|
|
|
};
|
|
|
|
#>
|
|
|
|
namespace HandyControlDemo.Data
|
|
|
|
{
|
|
|
|
public class MessageToken
|
|
|
|
{
|
|
|
|
<#foreach(var item in controlList){#>
|
|
|
|
public static readonly string <#=item#> = nameof(<#=item#>);
|
2018-10-31 15:49:04 +08:00
|
|
|
|
2018-09-18 19:22:11 +08:00
|
|
|
<#}#>
|
|
|
|
<#foreach(var item in styleList){#>
|
|
|
|
public static readonly string <#=item#> = nameof(<#=item#>);
|
|
|
|
|
2018-10-23 19:59:59 +08:00
|
|
|
<#}#>
|
|
|
|
<#foreach(var item in windowList){#>
|
|
|
|
public static readonly string <#=item#> = nameof(<#=item#>);
|
|
|
|
|
2018-09-18 19:22:11 +08:00
|
|
|
<#}#>
|
|
|
|
public static readonly string LoadShowContent = nameof(LoadShowContent);
|
2018-10-30 23:29:38 +08:00
|
|
|
|
2018-10-31 15:49:04 +08:00
|
|
|
public static readonly string FullSwitch = nameof(FullSwitch);
|
2018-10-30 23:29:38 +08:00
|
|
|
|
2018-10-31 15:49:04 +08:00
|
|
|
public static readonly string ContributorsView = nameof(ContributorsView);
|
2018-10-30 23:29:38 +08:00
|
|
|
|
2018-10-31 15:49:04 +08:00
|
|
|
public static readonly string ClearLeftSelected = nameof(ClearLeftSelected);
|
2018-09-18 19:22:11 +08:00
|
|
|
}
|
|
|
|
}
|