25 files changed
+119
-335
No files matched your search
@@ -8,7 +8,7 @@
|
|||||||
<Version>2.4.0</Version>
|
<Version>2.4.0</Version>
|
||||||
<ApplicationIcon>..\..\Shared\HandyControlDemo_Shared\Resources\Img\icon.ico</ApplicationIcon>
|
<ApplicationIcon>..\..\Shared\HandyControlDemo_Shared\Resources\Img\icon.ico</ApplicationIcon>
|
||||||
<Configurations>Debug;Release</Configurations>
|
<Configurations>Debug;Release</Configurations>
|
||||||
<Copyright>Copyright © HandyOrg 2018-2019</Copyright>
|
<Copyright>Copyright © HandyOrg 2018-2020</Copyright>
|
||||||
<FileVersion>2.4.0.0</FileVersion>
|
<FileVersion>2.4.0.0</FileVersion>
|
||||||
<AssemblyVersion>2.4.0.0</AssemblyVersion>
|
<AssemblyVersion>2.4.0.0</AssemblyVersion>
|
||||||
<LangVersion>8.0</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
@@ -454,6 +454,9 @@
|
|||||||
<Resource Include="..\..\Shared\HandyControlDemo_Shared\Resources\Img\LeftMainContent\Effects_16x.png">
|
<Resource Include="..\..\Shared\HandyControlDemo_Shared\Resources\Img\LeftMainContent\Effects_16x.png">
|
||||||
<Link>Resources\Img\LeftMainContent\Effects_16x.png</Link>
|
<Link>Resources\Img\LeftMainContent\Effects_16x.png</Link>
|
||||||
</Resource>
|
</Resource>
|
||||||
|
<Resource Include="..\..\Shared\HandyControlDemo_Shared\Resources\Img\LeftMainContent\Ellipsis_16x.png">
|
||||||
|
<Link>Resources\Img\LeftMainContent\Ellipsis_16x.png</Link>
|
||||||
|
</Resource>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Include="..\..\Shared\HandyControlDemo_Shared\Properties\Langs\Lang.en.resx">
|
<EmbeddedResource Include="..\..\Shared\HandyControlDemo_Shared\Properties\Langs\Lang.en.resx">
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<AssemblyVersion>2.4.0.0</AssemblyVersion>
|
<AssemblyVersion>2.4.0.0</AssemblyVersion>
|
||||||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
|
||||||
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
||||||
<Copyright>Copyright © HandyOrg 2018-2019</Copyright>
|
<Copyright>Copyright © HandyOrg 2018-2020</Copyright>
|
||||||
<Description>Contains some commonly used simple WPF controls</Description>
|
<Description>Contains some commonly used simple WPF controls</Description>
|
||||||
<Configurations>Debug;Release</Configurations>
|
<Configurations>Debug;Release</Configurations>
|
||||||
<LangVersion>8.0</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
|
|||||||
@@ -520,6 +520,9 @@
|
|||||||
<Resource Include="..\..\Shared\HandyControlDemo_Shared\Resources\Img\LeftMainContent\RepeatButton_16x.png">
|
<Resource Include="..\..\Shared\HandyControlDemo_Shared\Resources\Img\LeftMainContent\RepeatButton_16x.png">
|
||||||
<Link>Resources\Img\LeftMainContent\RepeatButton_16x.png</Link>
|
<Link>Resources\Img\LeftMainContent\RepeatButton_16x.png</Link>
|
||||||
</Resource>
|
</Resource>
|
||||||
|
<Resource Include="..\..\Shared\HandyControlDemo_Shared\Resources\Img\LeftMainContent\Ellipsis_16x.png">
|
||||||
|
<Link>Resources\Img\LeftMainContent\Ellipsis_16x.png</Link>
|
||||||
|
</Resource>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Resource Include="..\..\Shared\HandyControlDemo_Shared\Data\DemoInfo.json">
|
<Resource Include="..\..\Shared\HandyControlDemo_Shared\Data\DemoInfo.json">
|
||||||
|
|||||||
@@ -583,6 +583,9 @@
|
|||||||
<Resource Include="..\..\Shared\HandyControlDemo_Shared\Resources\Img\LeftMainContent\MainMenuControl_16x.png">
|
<Resource Include="..\..\Shared\HandyControlDemo_Shared\Resources\Img\LeftMainContent\MainMenuControl_16x.png">
|
||||||
<Link>Resources\Img\LeftMainContent\MainMenuControl_16x.png</Link>
|
<Link>Resources\Img\LeftMainContent\MainMenuControl_16x.png</Link>
|
||||||
</Resource>
|
</Resource>
|
||||||
|
<Resource Include="..\..\Shared\HandyControlDemo_Shared\Resources\Img\LeftMainContent\Ellipsis_16x.png">
|
||||||
|
<Link>Resources\Img\LeftMainContent\Ellipsis_16x.png</Link>
|
||||||
|
</Resource>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Resource Include="..\..\Shared\HandyControlDemo_Shared\Resources\fabric-icons.ttf">
|
<Resource Include="..\..\Shared\HandyControlDemo_Shared\Resources\fabric-icons.ttf">
|
||||||
|
|||||||
@@ -50,6 +50,7 @@
|
|||||||
[ "TextBox", "TextBoxDemoCtl", "TextBox_16x", "" ],
|
[ "TextBox", "TextBoxDemoCtl", "TextBox_16x", "" ],
|
||||||
[ "ComboBox", "ComboBoxDemoCtl", "ComboBox_16x", "" ],
|
[ "ComboBox", "ComboBoxDemoCtl", "ComboBox_16x", "" ],
|
||||||
[ "PasswordBox", "PasswordBoxDemoCtl", "PasswordBox_16x", "" ],
|
[ "PasswordBox", "PasswordBoxDemoCtl", "PasswordBox_16x", "" ],
|
||||||
|
[ "PinBox", "PinBoxDemoCtl", "Ellipsis_16x", "1" ],
|
||||||
[ "DatePicker", "DatePickerDemoCtl", "DatePicker_16x", "" ],
|
[ "DatePicker", "DatePickerDemoCtl", "DatePicker_16x", "" ],
|
||||||
[ "Clock", "ClockDemoCtl", "Time_color_16x", "" ],
|
[ "Clock", "ClockDemoCtl", "Time_color_16x", "" ],
|
||||||
[ "TimePicker", "TimePickerDemoCtl", "TimePicker_16x", "" ],
|
[ "TimePicker", "TimePickerDemoCtl", "TimePicker_16x", "" ],
|
||||||
@@ -65,7 +66,7 @@
|
|||||||
[ "OutlineText", "OutlineTextDemoCtl", "TextBlock_16x", "" ],
|
[ "OutlineText", "OutlineTextDemoCtl", "TextBlock_16x", "" ],
|
||||||
[ "RunningBlock", "RunningBlockDemoCtl", "Dynamic_16x", "" ],
|
[ "RunningBlock", "RunningBlockDemoCtl", "Dynamic_16x", "" ],
|
||||||
[ "Card", "CardDemoCtl", "VSO_Card_16x", "" ],
|
[ "Card", "CardDemoCtl", "VSO_Card_16x", "" ],
|
||||||
[ "Divider", "DividerDemoCtl", "DottedSplitter_16x", "1" ],
|
[ "Divider", "DividerDemoCtl", "DottedSplitter_16x", "" ],
|
||||||
[ "CirclePanel", "CirclePanelDemoCtl", "ColorWheel_16x", "" ],
|
[ "CirclePanel", "CirclePanelDemoCtl", "ColorWheel_16x", "" ],
|
||||||
[ "Grid", "GridDemoCtl", "GridPane_16x", "" ],
|
[ "Grid", "GridDemoCtl", "GridPane_16x", "" ],
|
||||||
[ "RelativePanel", "RelativePanelDemoCtl", "TransformRelative_16x", "1" ],
|
[ "RelativePanel", "RelativePanelDemoCtl", "TransformRelative_16x", "1" ],
|
||||||
|
|||||||
@@ -2,202 +2,6 @@
|
|||||||
{
|
{
|
||||||
public class MessageToken
|
public class MessageToken
|
||||||
{
|
{
|
||||||
/*-------------------- Controls --------------------*/
|
|
||||||
|
|
||||||
public static readonly string GrowlDemoCtl = nameof(GrowlDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string LoadingDemoCtl = nameof(LoadingDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ImageBrowserDemoCtl = nameof(ImageBrowserDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ColorPickerDemoCtl = nameof(ColorPickerDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string CarouselDemoCtl = nameof(CarouselDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string CompareSliderDemoCtl = nameof(CompareSliderDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string TimeBarDemoCtl = nameof(TimeBarDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string PaginationDemoCtl = nameof(PaginationDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string AnimationPathDemoCtl = nameof(AnimationPathDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string StepBarDemoCtl = nameof(StepBarDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ClockDemoCtl = nameof(ClockDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string TimePickerDemoCtl = nameof(TimePickerDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string CirclePanelDemoCtl = nameof(CirclePanelDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string NumericUpDownDemoCtl = nameof(NumericUpDownDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string WindowDemoCtl = nameof(WindowDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ScrollViewerDemoCtl = nameof(ScrollViewerDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string PreviewSliderDemoCtl = nameof(PreviewSliderDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ProgressBarDemoCtl = nameof(ProgressBarDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string TextBoxDemoCtl = nameof(TextBoxDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ComboBoxDemoCtl = nameof(ComboBoxDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string PasswordBoxDemoCtl = nameof(PasswordBoxDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string DatePickerDemoCtl = nameof(DatePickerDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string DateTimePickerDemoCtl = nameof(DateTimePickerDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string CalendarWithClockDemoCtl = nameof(CalendarWithClockDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string SearchBarDemoCtl = nameof(SearchBarDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string TagDemoCtl = nameof(TagDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string GifImageDemoCtl = nameof(GifImageDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string OutlineTextDemoCtl = nameof(OutlineTextDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string FlipClockDemoCtl = nameof(FlipClockDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string QQGroupView = nameof(QQGroupView);
|
|
||||||
|
|
||||||
public static readonly string BlurWindow = nameof(BlurWindow);
|
|
||||||
|
|
||||||
public static readonly string NoNonClientAreaDragableWindow = nameof(NoNonClientAreaDragableWindow);
|
|
||||||
|
|
||||||
public static readonly string RateDemoCtl = nameof(RateDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ShieldDemoCtl = nameof(ShieldDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string WaterfallPanelDemoCtl = nameof(WaterfallPanelDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string CoverViewDemoCtl = nameof(CoverViewDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string CoverFlowDemoCtl = nameof(CoverFlowDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ProgressButtonDemoCtl = nameof(ProgressButtonDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string TransferDemoCtl = nameof(TransferDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ChatBubbleDemoCtl = nameof(ChatBubbleDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string GotoTopDemoCtl = nameof(GotoTopDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string NotifyIconDemoCtl = nameof(NotifyIconDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string BadgeDemoCtl = nameof(BadgeDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string GravatarDemoCtl = nameof(GravatarDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string DialogDemoCtl = nameof(DialogDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string SideMenuDemoCtl = nameof(SideMenuDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string GridDemoCtl = nameof(GridDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string PoptipDemoCtl = nameof(PoptipDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string RangeSliderDemoCtl = nameof(RangeSliderDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ButtonGroupDemoCtl = nameof(ButtonGroupDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string CardDemoCtl = nameof(CardDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string MagnifierDemoCtl = nameof(MagnifierDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ImageBlockDemoCtl = nameof(ImageBlockDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string RunningBlockDemoCtl = nameof(RunningBlockDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string HoneycombPanelDemoCtl = nameof(HoneycombPanelDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string SpriteDemoCtl = nameof(SpriteDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string NotificationDemoCtl = nameof(NotificationDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string FloatingBlockDemoCtl = nameof(FloatingBlockDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string SplitButtonDemoCtl = nameof(SplitButtonDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string DividerDemoCtl = nameof(DividerDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string TransitioningContentControlDemoCtl = nameof(TransitioningContentControlDemoCtl);
|
|
||||||
|
|
||||||
/*-------------------- Tools --------------------*/
|
|
||||||
|
|
||||||
public static readonly string HatchBrushGeneratorDemoCtl = nameof(HatchBrushGeneratorDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string GeometryAnimationDemoCtl = nameof(GeometryAnimationDemoCtl);
|
|
||||||
|
|
||||||
/*-------------------- Styles --------------------*/
|
|
||||||
|
|
||||||
public static readonly string ButtonDemoCtl = nameof(ButtonDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string RepeatButtonDemoCtl = nameof(RepeatButtonDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ToggleButtonDemoCtl = nameof(ToggleButtonDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ExpanderDemoCtl = nameof(ExpanderDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string NativeProgressBarDemoCtl = nameof(NativeProgressBarDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string TabControlDemoCtl = nameof(TabControlDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string CalendarDemoCtl = nameof(CalendarDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string NativeDatePickerDemoCtl = nameof(NativeDatePickerDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string NativeTextBoxDemoCtl = nameof(NativeTextBoxDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string TextBlockDemoCtl = nameof(TextBlockDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string NativeComboBoxDemoCtl = nameof(NativeComboBoxDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string NativePasswordBoxDemoCtl = nameof(NativePasswordBoxDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string NativeTabControlDemoCtl = nameof(NativeTabControlDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string DataGridDemoCtl = nameof(DataGridDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string CheckBoxDemoCtl = nameof(CheckBoxDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ListBoxDemoCtl = nameof(ListBoxDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string MenuDemoCtl = nameof(MenuDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string TreeViewDemoCtl = nameof(TreeViewDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string BorderDemoCtl = nameof(BorderDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string RadioButtonDemoCtl = nameof(RadioButtonDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string NativeScrollViewerDemoCtl = nameof(NativeScrollViewerDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string BrushDemoCtl = nameof(BrushDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string SliderDemoCtl = nameof(SliderDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string GroupBoxDemoCtl = nameof(GroupBoxDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ListViewDemoCtl = nameof(ListViewDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string RichTextBoxDemoCtl = nameof(RichTextBoxDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string ToolBarDemoCtl = nameof(ToolBarDemoCtl);
|
|
||||||
|
|
||||||
public static readonly string LabelDemoCtl = nameof(LabelDemoCtl);
|
|
||||||
|
|
||||||
/*-------------------- Windows --------------------*/
|
|
||||||
|
|
||||||
public static readonly string CommonWindow = nameof(CommonWindow);
|
|
||||||
|
|
||||||
public static readonly string CustomNonClientAreaWindow = nameof(CustomNonClientAreaWindow);
|
|
||||||
|
|
||||||
/*-------------------- Messages --------------------*/
|
|
||||||
|
|
||||||
public static readonly string LoadShowContent = nameof(LoadShowContent);
|
public static readonly string LoadShowContent = nameof(LoadShowContent);
|
||||||
|
|
||||||
public static readonly string FullSwitch = nameof(FullSwitch);
|
public static readonly string FullSwitch = nameof(FullSwitch);
|
||||||
@@ -226,5 +30,15 @@
|
|||||||
|
|
||||||
public static readonly string NotifyIconContextDemo = nameof(NotifyIconContextDemo);
|
public static readonly string NotifyIconContextDemo = nameof(NotifyIconContextDemo);
|
||||||
|
|
||||||
|
public static readonly string CommonWindow = nameof(CommonWindow);
|
||||||
|
|
||||||
|
public static readonly string BlurWindow = nameof(BlurWindow);
|
||||||
|
|
||||||
|
public static readonly string CustomNonClientAreaWindow = nameof(CustomNonClientAreaWindow);
|
||||||
|
|
||||||
|
public static readonly string NoNonClientAreaDragableWindow = nameof(NoNonClientAreaDragableWindow);
|
||||||
|
|
||||||
|
public static readonly string QQGroupView = nameof(QQGroupView);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2,111 +2,6 @@
|
|||||||
<#@ import namespace="System.Collections.Generic"#>
|
<#@ import namespace="System.Collections.Generic"#>
|
||||||
<#@ output extension=".cs" #>
|
<#@ output extension=".cs" #>
|
||||||
<#
|
<#
|
||||||
var controlList = new List<string>
|
|
||||||
{
|
|
||||||
"GrowlDemoCtl",
|
|
||||||
"LoadingDemoCtl",
|
|
||||||
"ImageBrowserDemoCtl",
|
|
||||||
"ColorPickerDemoCtl",
|
|
||||||
"CarouselDemoCtl",
|
|
||||||
"CompareSliderDemoCtl",
|
|
||||||
"TimeBarDemoCtl",
|
|
||||||
"PaginationDemoCtl",
|
|
||||||
"AnimationPathDemoCtl",
|
|
||||||
"StepBarDemoCtl",
|
|
||||||
"ClockDemoCtl",
|
|
||||||
"TimePickerDemoCtl",
|
|
||||||
"CirclePanelDemoCtl",
|
|
||||||
"NumericUpDownDemoCtl",
|
|
||||||
"WindowDemoCtl",
|
|
||||||
"ScrollViewerDemoCtl",
|
|
||||||
"PreviewSliderDemoCtl",
|
|
||||||
"ProgressBarDemoCtl",
|
|
||||||
"TextBoxDemoCtl",
|
|
||||||
"ComboBoxDemoCtl",
|
|
||||||
"PasswordBoxDemoCtl",
|
|
||||||
"DatePickerDemoCtl",
|
|
||||||
"DateTimePickerDemoCtl",
|
|
||||||
"CalendarWithClockDemoCtl",
|
|
||||||
"SearchBarDemoCtl",
|
|
||||||
"TagDemoCtl",
|
|
||||||
"GifImageDemoCtl",
|
|
||||||
"OutlineTextDemoCtl",
|
|
||||||
"FlipClockDemoCtl",
|
|
||||||
"QQGroupView",
|
|
||||||
"BlurWindow",
|
|
||||||
"NoNonClientAreaDragableWindow",
|
|
||||||
"RateDemoCtl",
|
|
||||||
"ShieldDemoCtl",
|
|
||||||
"WaterfallPanelDemoCtl",
|
|
||||||
"CoverViewDemoCtl",
|
|
||||||
"CoverFlowDemoCtl",
|
|
||||||
"ProgressButtonDemoCtl",
|
|
||||||
"TransferDemoCtl",
|
|
||||||
"ChatBubbleDemoCtl",
|
|
||||||
"GotoTopDemoCtl",
|
|
||||||
"NotifyIconDemoCtl",
|
|
||||||
"BadgeDemoCtl",
|
|
||||||
"GravatarDemoCtl",
|
|
||||||
"DialogDemoCtl",
|
|
||||||
"SideMenuDemoCtl",
|
|
||||||
"GridDemoCtl",
|
|
||||||
"PoptipDemoCtl",
|
|
||||||
"RangeSliderDemoCtl",
|
|
||||||
"ButtonGroupDemoCtl",
|
|
||||||
"CardDemoCtl",
|
|
||||||
"MagnifierDemoCtl",
|
|
||||||
"ImageBlockDemoCtl",
|
|
||||||
"RunningBlockDemoCtl",
|
|
||||||
"HoneycombPanelDemoCtl",
|
|
||||||
"SpriteDemoCtl",
|
|
||||||
"NotificationDemoCtl",
|
|
||||||
"FloatingBlockDemoCtl",
|
|
||||||
"SplitButtonDemoCtl",
|
|
||||||
"DividerDemoCtl",
|
|
||||||
"TransitioningContentControlDemoCtl"
|
|
||||||
};
|
|
||||||
var styleList = new List<string>
|
|
||||||
{
|
|
||||||
"ButtonDemoCtl",
|
|
||||||
"RepeatButtonDemoCtl",
|
|
||||||
"ToggleButtonDemoCtl",
|
|
||||||
"ExpanderDemoCtl",
|
|
||||||
"NativeProgressBarDemoCtl",
|
|
||||||
"TabControlDemoCtl",
|
|
||||||
"CalendarDemoCtl",
|
|
||||||
"NativeDatePickerDemoCtl",
|
|
||||||
"NativeTextBoxDemoCtl",
|
|
||||||
"TextBlockDemoCtl",
|
|
||||||
"NativeComboBoxDemoCtl",
|
|
||||||
"NativePasswordBoxDemoCtl",
|
|
||||||
"NativeTabControlDemoCtl",
|
|
||||||
"DataGridDemoCtl",
|
|
||||||
"CheckBoxDemoCtl",
|
|
||||||
"ListBoxDemoCtl",
|
|
||||||
"MenuDemoCtl",
|
|
||||||
"TreeViewDemoCtl",
|
|
||||||
"BorderDemoCtl",
|
|
||||||
"RadioButtonDemoCtl",
|
|
||||||
"NativeScrollViewerDemoCtl",
|
|
||||||
"BrushDemoCtl",
|
|
||||||
"SliderDemoCtl",
|
|
||||||
"GroupBoxDemoCtl",
|
|
||||||
"ListViewDemoCtl",
|
|
||||||
"RichTextBoxDemoCtl",
|
|
||||||
"ToolBarDemoCtl",
|
|
||||||
"LabelDemoCtl"
|
|
||||||
};
|
|
||||||
var toolList = new List<string>
|
|
||||||
{
|
|
||||||
"HatchBrushGeneratorDemoCtl",
|
|
||||||
"GeometryAnimationDemoCtl"
|
|
||||||
};
|
|
||||||
var windowList = new List<string>
|
|
||||||
{
|
|
||||||
"CommonWindow",
|
|
||||||
"CustomNonClientAreaWindow"
|
|
||||||
};
|
|
||||||
var messageList = new List<string>
|
var messageList = new List<string>
|
||||||
{
|
{
|
||||||
"LoadShowContent",
|
"LoadShowContent",
|
||||||
@@ -122,39 +17,18 @@ var messageList = new List<string>
|
|||||||
"BlogsView",
|
"BlogsView",
|
||||||
"WebsitesView",
|
"WebsitesView",
|
||||||
"NotifyIconDemo",
|
"NotifyIconDemo",
|
||||||
"NotifyIconContextDemo"
|
"NotifyIconContextDemo",
|
||||||
|
"CommonWindow",
|
||||||
|
"BlurWindow",
|
||||||
|
"CustomNonClientAreaWindow",
|
||||||
|
"NoNonClientAreaDragableWindow",
|
||||||
|
"QQGroupView"
|
||||||
};
|
};
|
||||||
#>
|
#>
|
||||||
namespace HandyControlDemo.Data
|
namespace HandyControlDemo.Data
|
||||||
{
|
{
|
||||||
public class MessageToken
|
public class MessageToken
|
||||||
{
|
{
|
||||||
/*-------------------- Controls --------------------*/
|
|
||||||
|
|
||||||
<#foreach(var item in controlList){#>
|
|
||||||
public static readonly string <#=item#> = nameof(<#=item#>);
|
|
||||||
|
|
||||||
<#}#>
|
|
||||||
/*-------------------- Tools --------------------*/
|
|
||||||
|
|
||||||
<#foreach(var item in toolList){#>
|
|
||||||
public static readonly string <#=item#> = nameof(<#=item#>);
|
|
||||||
|
|
||||||
<#}#>
|
|
||||||
/*-------------------- Styles --------------------*/
|
|
||||||
|
|
||||||
<#foreach(var item in styleList){#>
|
|
||||||
public static readonly string <#=item#> = nameof(<#=item#>);
|
|
||||||
|
|
||||||
<#}#>
|
|
||||||
/*-------------------- Windows --------------------*/
|
|
||||||
|
|
||||||
<#foreach(var item in windowList){#>
|
|
||||||
public static readonly string <#=item#> = nameof(<#=item#>);
|
|
||||||
|
|
||||||
<#}#>
|
|
||||||
/*-------------------- Messages --------------------*/
|
|
||||||
|
|
||||||
<#foreach(var item in messageList){#>
|
<#foreach(var item in messageList){#>
|
||||||
public static readonly string <#=item#> = nameof(<#=item#>);
|
public static readonly string <#=item#> = nameof(<#=item#>);
|
||||||
|
|
||||||
|
|||||||
@@ -80,6 +80,9 @@
|
|||||||
<Compile Include="$(MSBuildThisFileDirectory)UserControl\Controls\NotificationDemoCtl.xaml.cs">
|
<Compile Include="$(MSBuildThisFileDirectory)UserControl\Controls\NotificationDemoCtl.xaml.cs">
|
||||||
<DependentUpon>NotificationDemoCtl.xaml</DependentUpon>
|
<DependentUpon>NotificationDemoCtl.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="$(MSBuildThisFileDirectory)UserControl\Controls\PinBoxDemoCtl.xaml.cs">
|
||||||
|
<DependentUpon>PinBoxDemoCtl.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)UserControl\Controls\RangeSliderDemoCtl.xaml.cs">
|
<Compile Include="$(MSBuildThisFileDirectory)UserControl\Controls\RangeSliderDemoCtl.xaml.cs">
|
||||||
<DependentUpon>RangeSliderDemoCtl.xaml</DependentUpon>
|
<DependentUpon>RangeSliderDemoCtl.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -513,6 +516,10 @@
|
|||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
|
<Page Include="$(MSBuildThisFileDirectory)UserControl\Controls\PinBoxDemoCtl.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
</Page>
|
||||||
<Page Include="$(MSBuildThisFileDirectory)UserControl\Controls\RangeSliderDemoCtl.xaml">
|
<Page Include="$(MSBuildThisFileDirectory)UserControl\Controls\RangeSliderDemoCtl.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using System.Windows;
|
|||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("")]
|
[assembly: AssemblyCompany("")]
|
||||||
[assembly: AssemblyProduct("HandyControlDemo")]
|
[assembly: AssemblyProduct("HandyControlDemo")]
|
||||||
[assembly: AssemblyCopyright("Copyright © HandyOrg 2018-2019")]
|
[assembly: AssemblyCopyright("Copyright © HandyOrg 2018-2020")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
||||||
[assembly: ComVisible(false)]
|
[assembly: ComVisible(false)]
|
||||||
|
|||||||
@@ -1131,6 +1131,15 @@ namespace HandyControlDemo.Properties.Langs {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 查找类似 PIN码框 的本地化字符串。
|
||||||
|
/// </summary>
|
||||||
|
public static string PinBox {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("PinBox", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 查找类似 请输入... 的本地化字符串。
|
/// 查找类似 请输入... 的本地化字符串。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -711,4 +711,7 @@
|
|||||||
<data name="Demo" xml:space="preserve">
|
<data name="Demo" xml:space="preserve">
|
||||||
<value>Demo</value>
|
<value>Demo</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="PinBox" xml:space="preserve">
|
||||||
|
<value>PinBox</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
@@ -711,4 +711,7 @@
|
|||||||
<data name="Demo" xml:space="preserve">
|
<data name="Demo" xml:space="preserve">
|
||||||
<value>Demo</value>
|
<value>Demo</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="PinBox" xml:space="preserve">
|
||||||
|
<value>PinBox</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
@@ -711,4 +711,7 @@
|
|||||||
<data name="Demo" xml:space="preserve">
|
<data name="Demo" xml:space="preserve">
|
||||||
<value>Demo</value>
|
<value>Demo</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="PinBox" xml:space="preserve">
|
||||||
|
<value>PinBox</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<root>
|
<root>
|
||||||
<!--
|
<!--
|
||||||
Microsoft ResX Schema
|
Microsoft ResX Schema
|
||||||
@@ -711,4 +711,7 @@
|
|||||||
<data name="Window" xml:space="preserve">
|
<data name="Window" xml:space="preserve">
|
||||||
<value>Window</value>
|
<value>Window</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="PinBox" xml:space="preserve">
|
||||||
|
<value>PinBox</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
@@ -711,4 +711,7 @@
|
|||||||
<data name="Demo" xml:space="preserve">
|
<data name="Demo" xml:space="preserve">
|
||||||
<value>示例</value>
|
<value>示例</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="PinBox" xml:space="preserve">
|
||||||
|
<value>PIN码框</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 196 B |
@@ -13,7 +13,7 @@
|
|||||||
<hc:PasswordBox ShowEyeButton="True" hc:InfoElement.Placeholder="{x:Static langs:Lang.PlsEnterContent}" hc:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr2}" hc:InfoElement.Necessary="True" Margin="0,32,0,0"/>
|
<hc:PasswordBox ShowEyeButton="True" hc:InfoElement.Placeholder="{x:Static langs:Lang.PlsEnterContent}" hc:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr2}" hc:InfoElement.Necessary="True" Margin="0,32,0,0"/>
|
||||||
|
|
||||||
<hc:PasswordBox ShowClearButton="True" Width="380" hc:InfoElement.TitleWidth="140" hc:InfoElement.TitleAlignment="Left" hc:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr3}" Margin="0,32,0,0" Password="123456"/>
|
<hc:PasswordBox ShowClearButton="True" Width="380" hc:InfoElement.TitleWidth="140" hc:InfoElement.TitleAlignment="Left" hc:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr3}" Margin="0,32,0,0" Password="123456"/>
|
||||||
<hc:PasswordBox ShowClearButton="True" ShowEyeButton="True" Width="380" hc:InfoElement.TitleWidth="140" hc:InfoElement.Placeholder="{x:Static langs:Lang.PlsEnterContent}" hc:InfoElement.TitleAlignment="Left" hc:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr3}" hc:InfoElement.Necessary="True" Margin="0,32,0,0"/>
|
<!--<hc:PasswordBox ShowClearButton="True" ShowEyeButton="True" Width="380" hc:InfoElement.TitleWidth="140" hc:InfoElement.Placeholder="{x:Static langs:Lang.PlsEnterContent}" hc:InfoElement.TitleAlignment="Left" hc:InfoElement.Title="{x:Static langs:Lang.TitleDemoStr3}" hc:InfoElement.Necessary="True" Margin="0,32,0,0"/>-->
|
||||||
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</hc:TransitioningContentControl>
|
</hc:TransitioningContentControl>
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
<UserControl x:Class="HandyControlDemo.UserControl.PinBoxDemoCtl"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:userControl="clr-namespace:HandyControlDemo.UserControl"
|
||||||
|
Background="{DynamicResource RegionBrush}">
|
||||||
|
<userControl:UnderConstruction/>
|
||||||
|
</UserControl>
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
namespace HandyControlDemo.UserControl
|
||||||
|
{
|
||||||
|
public partial class PinBoxDemoCtl
|
||||||
|
{
|
||||||
|
public PinBoxDemoCtl()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
using System.Windows.Controls;
|
||||||
|
|
||||||
|
namespace HandyControl.Controls
|
||||||
|
{
|
||||||
|
public class PinBox : Control
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -25,6 +25,7 @@
|
|||||||
<Compile Include="$(MSBuildThisFileDirectory)Controls\Button\SplitButton.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)Controls\Button\SplitButton.cs" />
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)Controls\Growl\GrowlWindow.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)Controls\Growl\GrowlWindow.cs" />
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)Controls\Image\ImageBlock.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)Controls\Image\ImageBlock.cs" />
|
||||||
|
<Compile Include="$(MSBuildThisFileDirectory)Controls\Input\PinBox.cs" />
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)Controls\Other\Divider.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)Controls\Other\Divider.cs" />
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)Controls\Other\Drawer.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)Controls\Other\Drawer.cs" />
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)Controls\Other\Magnifier.cs" />
|
<Compile Include="$(MSBuildThisFileDirectory)Controls\Other\Magnifier.cs" />
|
||||||
@@ -393,6 +394,14 @@
|
|||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
|
<Page Include="$(MSBuildThisFileDirectory)Themes\Styles\PinBox.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
</Page>
|
||||||
|
<Page Include="$(MSBuildThisFileDirectory)Themes\Styles\Base\PinBoxBaseStyle.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
</Page>
|
||||||
<Page Include="$(MSBuildThisFileDirectory)Themes\Styles\Drawer.xaml">
|
<Page Include="$(MSBuildThisFileDirectory)Themes\Styles\Drawer.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using System.Runtime.InteropServices;
|
|||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("")]
|
[assembly: AssemblyCompany("")]
|
||||||
[assembly: AssemblyProduct("HandyControl")]
|
[assembly: AssemblyProduct("HandyControl")]
|
||||||
[assembly: AssemblyCopyright("Copyright © HandyOrg 2018-2019")]
|
[assembly: AssemblyCopyright("Copyright © HandyOrg 2018-2020")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
||||||
[assembly: ComVisible(false)]
|
[assembly: ComVisible(false)]
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:controls="clr-namespace:HandyControl.Controls">
|
||||||
|
|
||||||
|
<Style x:Key="PinBoxBaseStyle" TargetType="controls:PinBox">
|
||||||
|
|
||||||
|
</Style>
|
||||||
|
|
||||||
|
</ResourceDictionary>
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:controls="clr-namespace:HandyControl.Controls">
|
||||||
|
|
||||||
|
<ResourceDictionary.MergedDictionaries>
|
||||||
|
<ResourceDictionary Source="Base/PinBoxBaseStyle.xaml"/>
|
||||||
|
</ResourceDictionary.MergedDictionaries>
|
||||||
|
|
||||||
|
<Style BasedOn="{StaticResource PinBoxBaseStyle}" TargetType="controls:PinBox"/>
|
||||||
|
|
||||||
|
</ResourceDictionary>
|
||||||
@@ -78,6 +78,7 @@
|
|||||||
<ResourceDictionary Source="Divider.xaml"/>
|
<ResourceDictionary Source="Divider.xaml"/>
|
||||||
<ResourceDictionary Source="Poptip.xaml"/>
|
<ResourceDictionary Source="Poptip.xaml"/>
|
||||||
<ResourceDictionary Source="Drawer.xaml"/>
|
<ResourceDictionary Source="Drawer.xaml"/>
|
||||||
|
<ResourceDictionary Source="PinBox.xaml"/>
|
||||||
</ResourceDictionary.MergedDictionaries>
|
</ResourceDictionary.MergedDictionaries>
|
||||||
|
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
Reference in new issue
Block a user