From d65a2c25b914c27a3df9bed679b1c8acc951059c Mon Sep 17 00:00:00 2001 From: Mahdi Date: Thu, 12 Dec 2019 22:58:41 +0330 Subject: [PATCH 01/17] Update Demo --- .../Properties/Langs/Lang.Designer.cs | 415 +++++++++--------- .../Properties/Langs/Lang.en.resx | 3 + .../Properties/Langs/Lang.fa.resx | 3 + .../Properties/Langs/Lang.fr.resx | 3 + .../Properties/Langs/Lang.resx | 3 + .../Resources/Themes/Basic/Geometries.xaml | 1 + .../UserControl/Main/NoUserContent.xaml | 22 + 7 files changed, 247 insertions(+), 203 deletions(-) diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs index 0aa76e77..6074f629 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// 此代码由工具生成。 -// 运行时版本:4.0.30319.42000 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// 对此文件的更改可能会导致不正确的行为,并且如果 -// 重新生成代码,这些更改将会丢失。 +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ @@ -13,12 +13,12 @@ namespace HandyControlDemo.Properties.Langs { /// - /// 一个强类型的资源类,用于查找本地化的字符串等。 + /// A strongly-typed resource class, for looking up localized strings, etc. /// - // 此类是由 StronglyTypedResourceBuilder - // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 - // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen - // (以 /str 作为命令选项),或重新生成 VS 项目。 + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] @@ -33,7 +33,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 返回此类使用的缓存的 ResourceManager 实例。 + /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] public static global::System.Resources.ResourceManager ResourceManager { @@ -47,8 +47,8 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 重写当前线程的 CurrentUICulture 属性 - /// 重写当前线程的 CurrentUICulture 属性。 + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] public static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 关于 的本地化字符串。 + /// Looks up a localized string similar to 关于. /// public static string About { get { @@ -70,7 +70,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 添加项 的本地化字符串。 + /// Looks up a localized string similar to 添加项. /// public static string AddItem { get { @@ -79,7 +79,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 动画路径 的本地化字符串。 + /// Looks up a localized string similar to 动画路径. /// public static string AnimationPath { get { @@ -88,7 +88,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 托盘图标已打开,将隐藏窗口而不是关闭程序 的本地化字符串。 + /// Looks up a localized string similar to 托盘图标已打开,将隐藏窗口而不是关闭程序. /// public static string AppClosingTip { get { @@ -97,7 +97,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 询问 的本地化字符串。 + /// Looks up a localized string similar to 询问. /// public static string Ask { get { @@ -106,7 +106,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 标记 的本地化字符串。 + /// Looks up a localized string similar to 标记. /// public static string Badge { get { @@ -115,7 +115,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 填写基本信息 的本地化字符串。 + /// Looks up a localized string similar to 填写基本信息. /// public static string BasicInfo { get { @@ -124,7 +124,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 基础布局 的本地化字符串。 + /// Looks up a localized string similar to 基础布局. /// public static string BasicLayout { get { @@ -133,7 +133,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 闪烁 的本地化字符串。 + /// Looks up a localized string similar to 闪烁. /// public static string Blink { get { @@ -142,7 +142,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 博客 的本地化字符串。 + /// Looks up a localized string similar to 博客. /// public static string Blog { get { @@ -151,7 +151,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 边框 的本地化字符串。 + /// Looks up a localized string similar to 边框. /// public static string Border { get { @@ -160,7 +160,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 画刷 的本地化字符串。 + /// Looks up a localized string similar to 画刷. /// public static string Brush { get { @@ -169,7 +169,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 按钮 的本地化字符串。 + /// Looks up a localized string similar to 按钮. /// public static string Button { get { @@ -178,7 +178,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 自定义按钮 的本地化字符串。 + /// Looks up a localized string similar to 自定义按钮. /// public static string ButtonCustom { get { @@ -187,7 +187,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 按钮组 的本地化字符串。 + /// Looks up a localized string similar to 按钮组. /// public static string ButtonGroup { get { @@ -196,7 +196,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 日历 的本地化字符串。 + /// Looks up a localized string similar to 日历. /// public static string Calendar { get { @@ -205,7 +205,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 带时钟的日历 的本地化字符串。 + /// Looks up a localized string similar to 带时钟的日历. /// public static string CalendarWithClock { get { @@ -214,7 +214,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 卡片 的本地化字符串。 + /// Looks up a localized string similar to 卡片. /// public static string Card { get { @@ -223,7 +223,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 轮播 的本地化字符串。 + /// Looks up a localized string similar to 轮播. /// public static string Carousel { get { @@ -232,7 +232,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 是否重启以更改语言? 的本地化字符串。 + /// Looks up a localized string similar to 是否重启以更改语言?. /// public static string ChangeLangAsk { get { @@ -241,7 +241,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 对话气泡 的本地化字符串。 + /// Looks up a localized string similar to 对话气泡. /// public static string ChatBubble { get { @@ -250,7 +250,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 讨论室 的本地化字符串。 + /// Looks up a localized string similar to 讨论室. /// public static string Chatroom { get { @@ -259,7 +259,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 复选框 的本地化字符串。 + /// Looks up a localized string similar to 复选框. /// public static string CheckBox { get { @@ -268,7 +268,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 圆形布局 的本地化字符串。 + /// Looks up a localized string similar to 圆形布局. /// public static string CirclePanel { get { @@ -277,7 +277,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 清空 的本地化字符串。 + /// Looks up a localized string similar to 清空. /// public static string Clear { get { @@ -286,7 +286,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 点击计数 的本地化字符串。 + /// Looks up a localized string similar to 点击计数. /// public static string Click2Count { get { @@ -295,7 +295,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 时钟 的本地化字符串。 + /// Looks up a localized string similar to 时钟. /// public static string Clock { get { @@ -304,7 +304,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 颜色拾取器 的本地化字符串。 + /// Looks up a localized string similar to 颜色拾取器. /// public static string ColorPicker { get { @@ -313,7 +313,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 分栏偏移 的本地化字符串。 + /// Looks up a localized string similar to 分栏偏移. /// public static string ColumnOffset { get { @@ -322,7 +322,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 分栏间隔 的本地化字符串。 + /// Looks up a localized string similar to 分栏间隔. /// public static string ColumnSpacing { get { @@ -331,7 +331,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 组合框 的本地化字符串。 + /// Looks up a localized string similar to 组合框. /// public static string ComboBox { get { @@ -340,7 +340,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 敬请期待 的本地化字符串。 + /// Looks up a localized string similar to 敬请期待. /// public static string ComingSoon { get { @@ -349,7 +349,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 评论 的本地化字符串。 + /// Looks up a localized string similar to 评论. /// public static string Comment { get { @@ -358,7 +358,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 一般 的本地化字符串。 + /// Looks up a localized string similar to 一般. /// public static string Common { get { @@ -367,7 +367,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 对比滑块 的本地化字符串。 + /// Looks up a localized string similar to 对比滑块. /// public static string CompareSlider { get { @@ -376,7 +376,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 完成 的本地化字符串。 + /// Looks up a localized string similar to 完成. /// public static string Complete { get { @@ -385,7 +385,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 这是内容 的本地化字符串。 + /// Looks up a localized string similar to 这是内容. /// public static string ContentDemoStr { get { @@ -394,7 +394,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 贡献者 的本地化字符串。 + /// Looks up a localized string similar to 贡献者. /// public static string Contributors { get { @@ -403,7 +403,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 控件 的本地化字符串。 + /// Looks up a localized string similar to 控件. /// public static string Controls { get { @@ -412,7 +412,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 封面流 的本地化字符串。 + /// Looks up a localized string similar to 封面流. /// public static string CoverFlow { get { @@ -421,7 +421,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 封面视图 的本地化字符串。 + /// Looks up a localized string similar to 封面视图. /// public static string CoverView { get { @@ -430,7 +430,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 危险 的本地化字符串。 + /// Looks up a localized string similar to 危险. /// public static string Danger { get { @@ -439,7 +439,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 数据表格 的本地化字符串。 + /// Looks up a localized string similar to 数据表格. /// public static string DataGrid { get { @@ -448,7 +448,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 日期选择器 的本地化字符串。 + /// Looks up a localized string similar to 日期选择器. /// public static string DatePicker { get { @@ -457,7 +457,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 日期时间选择器 的本地化字符串。 + /// Looks up a localized string similar to 日期时间选择器. /// public static string DateTimePicker { get { @@ -466,7 +466,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 默认 的本地化字符串。 + /// Looks up a localized string similar to 默认. /// public static string Default { get { @@ -475,7 +475,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 对话框 的本地化字符串。 + /// Looks up a localized string similar to 对话框. /// public static string Dialog { get { @@ -484,7 +484,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 对话框示例 的本地化字符串。 + /// Looks up a localized string similar to 对话框示例. /// public static string DialogDemo { get { @@ -493,7 +493,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 分割线 的本地化字符串。 + /// Looks up a localized string similar to 分割线. /// public static string Divider { get { @@ -502,7 +502,16 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 在这里拖拽 的本地化字符串。 + /// Looks up a localized string similar to 文献资料. + /// + public static string Documentation { + get { + return ResourceManager.GetString("Documentation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 在这里拖拽. /// public static string DragHere { get { @@ -511,7 +520,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 抽屉 的本地化字符串。 + /// Looks up a localized string similar to 抽屉. /// public static string Drawer { get { @@ -520,7 +529,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 邮箱 的本地化字符串。 + /// Looks up a localized string similar to 邮箱. /// public static string Email { get { @@ -529,7 +538,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 错误 的本地化字符串。 + /// Looks up a localized string similar to 错误. /// public static string Error { get { @@ -538,7 +547,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 退出 的本地化字符串。 + /// Looks up a localized string similar to 退出. /// public static string Exit { get { @@ -547,7 +556,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 展开框 的本地化字符串。 + /// Looks up a localized string similar to 展开框. /// public static string Expander { get { @@ -556,7 +565,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 严重 的本地化字符串。 + /// Looks up a localized string similar to 严重. /// public static string Fatal { get { @@ -565,7 +574,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 翻页时钟 的本地化字符串。 + /// Looks up a localized string similar to 翻页时钟. /// public static string FlipClock { get { @@ -574,7 +583,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 漂浮块 的本地化字符串。 + /// Looks up a localized string similar to 漂浮块. /// public static string FloatingBlock { get { @@ -583,7 +592,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 Gif图片 的本地化字符串。 + /// Looks up a localized string similar to Gif图片. /// public static string GifImage { get { @@ -592,7 +601,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 回到顶部 的本地化字符串。 + /// Looks up a localized string similar to 回到顶部. /// public static string GotoTop { get { @@ -601,7 +610,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 头像 的本地化字符串。 + /// Looks up a localized string similar to 头像. /// public static string Gravatar { get { @@ -610,7 +619,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 栅格 的本地化字符串。 + /// Looks up a localized string similar to 栅格. /// public static string Grid { get { @@ -619,7 +628,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 分组框 的本地化字符串。 + /// Looks up a localized string similar to 分组框. /// public static string GroupBox { get { @@ -628,7 +637,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 组数 的本地化字符串。 + /// Looks up a localized string similar to 组数. /// public static string Groups { get { @@ -637,7 +646,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 信息通知 的本地化字符串。 + /// Looks up a localized string similar to 信息通知. /// public static string Growl { get { @@ -646,7 +655,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 检测到有新版本!是否更新? 的本地化字符串。 + /// Looks up a localized string similar to 检测到有新版本!是否更新?. /// public static string GrowlAsk { get { @@ -655,7 +664,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 消息通知示例 的本地化字符串。 + /// Looks up a localized string similar to 消息通知示例. /// public static string GrowlDemo { get { @@ -664,7 +673,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 连接失败,请检查网络! 的本地化字符串。 + /// Looks up a localized string similar to 连接失败,请检查网络!. /// public static string GrowlError { get { @@ -673,7 +682,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 程序已崩溃~~~ 的本地化字符串。 + /// Looks up a localized string similar to 程序已崩溃~~~. /// public static string GrowlFatal { get { @@ -682,7 +691,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 今天的天气不错~~~ 的本地化字符串。 + /// Looks up a localized string similar to 今天的天气不错~~~. /// public static string GrowlInfo { get { @@ -691,7 +700,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 文件保存成功! 的本地化字符串。 + /// Looks up a localized string similar to 文件保存成功!. /// public static string GrowlSuccess { get { @@ -700,7 +709,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 磁盘空间快要满了! 的本地化字符串。 + /// Looks up a localized string similar to 磁盘空间快要满了!. /// public static string GrowlWarning { get { @@ -709,7 +718,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 阴影画笔生成器 的本地化字符串。 + /// Looks up a localized string similar to 阴影画笔生成器. /// public static string HatchBrushGenerator { get { @@ -718,7 +727,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 蜂窝布局 的本地化字符串。 + /// Looks up a localized string similar to 蜂窝布局. /// public static string HoneycombPanel { get { @@ -727,7 +736,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 混合布局 的本地化字符串。 + /// Looks up a localized string similar to 混合布局. /// public static string HybridLayout { get { @@ -736,7 +745,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 忽略 的本地化字符串。 + /// Looks up a localized string similar to 忽略. /// public static string Ignore { get { @@ -745,7 +754,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 图片块 的本地化字符串。 + /// Looks up a localized string similar to 图片块. /// public static string ImageBlock { get { @@ -754,7 +763,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 图片浏览器 的本地化字符串。 + /// Looks up a localized string similar to 图片浏览器. /// public static string ImageBrowser { get { @@ -763,7 +772,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 索引 的本地化字符串。 + /// Looks up a localized string similar to 索引. /// public static string Index { get { @@ -772,7 +781,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 信息 的本地化字符串。 + /// Looks up a localized string similar to 信息. /// public static string Info { get { @@ -781,7 +790,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 可交互对话框 的本地化字符串。 + /// Looks up a localized string similar to 可交互对话框. /// public static string InteractiveDialog { get { @@ -790,7 +799,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 不是手机号码 的本地化字符串。 + /// Looks up a localized string similar to 不是手机号码. /// public static string IsNotPhone { get { @@ -799,7 +808,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 标签 的本地化字符串。 + /// Looks up a localized string similar to 标签. /// public static string Label { get { @@ -808,7 +817,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 列表框 的本地化字符串。 + /// Looks up a localized string similar to 列表框. /// public static string ListBox { get { @@ -817,7 +826,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 列表视图 的本地化字符串。 + /// Looks up a localized string similar to 列表视图. /// public static string ListView { get { @@ -826,7 +835,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 加载条 的本地化字符串。 + /// Looks up a localized string similar to 加载条. /// public static string Loading { get { @@ -835,7 +844,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 放大镜 的本地化字符串。 + /// Looks up a localized string similar to 放大镜. /// public static string Magnifier { get { @@ -844,7 +853,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 菜单 的本地化字符串。 + /// Looks up a localized string similar to 菜单. /// public static string Menu { get { @@ -853,7 +862,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 消息框 的本地化字符串。 + /// Looks up a localized string similar to 消息框. /// public static string MessageBox { get { @@ -862,7 +871,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 变形动画 的本地化字符串。 + /// Looks up a localized string similar to 变形动画. /// public static string Morphing_Animation { get { @@ -871,7 +880,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 名称 的本地化字符串。 + /// Looks up a localized string similar to 名称. /// public static string Name { get { @@ -880,7 +889,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 新建窗口 的本地化字符串。 + /// Looks up a localized string similar to 新建窗口. /// public static string NewWindow { get { @@ -889,7 +898,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 下一步 的本地化字符串。 + /// Looks up a localized string similar to 下一步. /// public static string Next { get { @@ -898,7 +907,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 桌面通知 的本地化字符串。 + /// Looks up a localized string similar to 桌面通知. /// public static string Notification { get { @@ -907,7 +916,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 托盘图标 的本地化字符串。 + /// Looks up a localized string similar to 托盘图标. /// public static string NotifyIcon { get { @@ -916,7 +925,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 数值选择控件 的本地化字符串。 + /// Looks up a localized string similar to 数值选择控件. /// public static string NumericUpDown { get { @@ -925,7 +934,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 关 的本地化字符串。 + /// Looks up a localized string similar to 关. /// public static string Off { get { @@ -934,7 +943,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 确定 的本地化字符串。 + /// Looks up a localized string similar to 确定. /// public static string Ok { get { @@ -943,7 +952,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 开 的本地化字符串。 + /// Looks up a localized string similar to 开. /// public static string On { get { @@ -952,7 +961,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 点击打开背景模糊窗口 的本地化字符串。 + /// Looks up a localized string similar to 点击打开背景模糊窗口. /// public static string OpenBlurWindow { get { @@ -961,7 +970,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 点击打开常规窗口 的本地化字符串。 + /// Looks up a localized string similar to 点击打开常规窗口. /// public static string OpenCommonWindow { get { @@ -970,7 +979,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 点击打开自定义内容窗口 的本地化字符串。 + /// Looks up a localized string similar to 点击打开自定义内容窗口. /// public static string OpenCustomContentWindow { get { @@ -979,7 +988,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 点击打开自定义消息窗口 的本地化字符串。 + /// Looks up a localized string similar to 点击打开自定义消息窗口. /// public static string OpenCustomMessageWindow { get { @@ -988,7 +997,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 点击打开自定义非客户端区域窗口 的本地化字符串。 + /// Looks up a localized string similar to 点击打开自定义非客户端区域窗口. /// public static string OpenCustomNonClientAreaWindow { get { @@ -997,7 +1006,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 点击打开图片浏览器 的本地化字符串。 + /// Looks up a localized string similar to 点击打开图片浏览器. /// public static string OpenImageBrowser { get { @@ -1006,7 +1015,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 点击打开消息窗口 的本地化字符串。 + /// Looks up a localized string similar to 点击打开消息窗口. /// public static string OpenMessageWindow { get { @@ -1015,7 +1024,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 点击打开鼠标跟随窗口 的本地化字符串。 + /// Looks up a localized string similar to 点击打开鼠标跟随窗口. /// public static string OpenMouseFollowWindow { get { @@ -1024,7 +1033,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 打开无非客户端区域可拖拽窗口 的本地化字符串。 + /// Looks up a localized string similar to 打开无非客户端区域可拖拽窗口. /// public static string OpenNoNonClientAreaDragableWindow { get { @@ -1033,7 +1042,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 打开面板 的本地化字符串。 + /// Looks up a localized string similar to 打开面板. /// public static string OpenPanel { get { @@ -1042,7 +1051,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 打开精灵 的本地化字符串。 + /// Looks up a localized string similar to 打开精灵. /// public static string OpenSprite { get { @@ -1051,7 +1060,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 轮廓文本 的本地化字符串。 + /// Looks up a localized string similar to 轮廓文本. /// public static string OutlineText { get { @@ -1060,7 +1069,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 概览 的本地化字符串。 + /// Looks up a localized string similar to 概览. /// public static string Overview { get { @@ -1069,7 +1078,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 页码条 的本地化字符串。 + /// Looks up a localized string similar to 页码条. /// public static string Pagination { get { @@ -1078,7 +1087,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 密码框 的本地化字符串。 + /// Looks up a localized string similar to 密码框. /// public static string PasswordBox { get { @@ -1087,7 +1096,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 请输入... 的本地化字符串。 + /// Looks up a localized string similar to 请输入.... /// public static string PleaseInput { get { @@ -1096,7 +1105,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 请稍后... 的本地化字符串。 + /// Looks up a localized string similar to 请稍后.... /// public static string PleaseWait { get { @@ -1105,7 +1114,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 请输入内容 的本地化字符串。 + /// Looks up a localized string similar to 请输入内容. /// public static string PlsEnterContent { get { @@ -1114,7 +1123,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 请输入邮箱 的本地化字符串。 + /// Looks up a localized string similar to 请输入邮箱. /// public static string PlsEnterEmail { get { @@ -1123,7 +1132,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 请输入关键字 的本地化字符串。 + /// Looks up a localized string similar to 请输入关键字. /// public static string PlsEnterKey { get { @@ -1132,7 +1141,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 气泡提示 的本地化字符串。 + /// Looks up a localized string similar to 气泡提示. /// public static string Poptip { get { @@ -1141,7 +1150,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 上左;上边;上右;右上;右边;右下;下右;下边;下左;左下;左边;左上 的本地化字符串。 + /// Looks up a localized string similar to 上左;上边;上右;右上;右边;右下;下右;下边;下左;左下;左边;左上. /// public static string PoptipPositionStr { get { @@ -1150,7 +1159,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 上一步 的本地化字符串。 + /// Looks up a localized string similar to 上一步. /// public static string Prev { get { @@ -1159,7 +1168,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 预览滑块 的本地化字符串。 + /// Looks up a localized string similar to 预览滑块. /// public static string PreviewSlider { get { @@ -1168,7 +1177,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 主要 的本地化字符串。 + /// Looks up a localized string similar to 主要. /// public static string Primary { get { @@ -1177,7 +1186,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 进度条 的本地化字符串。 + /// Looks up a localized string similar to 进度条. /// public static string ProgressBar { get { @@ -1186,7 +1195,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 进度按钮 的本地化字符串。 + /// Looks up a localized string similar to 进度按钮. /// public static string ProgressButton { get { @@ -1195,7 +1204,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 项目 的本地化字符串。 + /// Looks up a localized string similar to 项目. /// public static string Project { get { @@ -1204,7 +1213,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 按住说话 的本地化字符串。 + /// Looks up a localized string similar to 按住说话. /// public static string PushToTalk { get { @@ -1213,7 +1222,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 QQ群 的本地化字符串。 + /// Looks up a localized string similar to QQ群. /// public static string QQGroup { get { @@ -1222,7 +1231,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 单选按钮 的本地化字符串。 + /// Looks up a localized string similar to 单选按钮. /// public static string RadioButton { get { @@ -1231,7 +1240,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 范围滑块 的本地化字符串。 + /// Looks up a localized string similar to 范围滑块. /// public static string RangeSlider { get { @@ -1240,7 +1249,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 评分 的本地化字符串。 + /// Looks up a localized string similar to 评分. /// public static string Rate { get { @@ -1249,7 +1258,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 群友推荐 的本地化字符串。 + /// Looks up a localized string similar to 群友推荐. /// public static string Recommendation { get { @@ -1258,7 +1267,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 注册 的本地化字符串。 + /// Looks up a localized string similar to 注册. /// public static string Register { get { @@ -1267,7 +1276,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 相对布局 的本地化字符串。 + /// Looks up a localized string similar to 相对布局. /// public static string RelativePanel { get { @@ -1276,7 +1285,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 备注 的本地化字符串。 + /// Looks up a localized string similar to 备注. /// public static string Remark { get { @@ -1285,7 +1294,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 删除项 的本地化字符串。 + /// Looks up a localized string similar to 删除项. /// public static string RemoveItem { get { @@ -1294,7 +1303,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 重复按钮 的本地化字符串。 + /// Looks up a localized string similar to 重复按钮. /// public static string RepeatButton { get { @@ -1303,7 +1312,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 回复 的本地化字符串。 + /// Looks up a localized string similar to 回复. /// public static string Reply { get { @@ -1312,7 +1321,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 代码仓库 的本地化字符串。 + /// Looks up a localized string similar to 代码仓库. /// public static string Repository { get { @@ -1321,7 +1330,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 响应式布局 的本地化字符串。 + /// Looks up a localized string similar to 响应式布局. /// public static string ResponsiveLayout { get { @@ -1330,7 +1339,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 富文本框 的本地化字符串。 + /// Looks up a localized string similar to 富文本框. /// public static string RichTextBox { get { @@ -1339,7 +1348,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 在这里右击 的本地化字符串。 + /// Looks up a localized string similar to 在这里右击. /// public static string RightClickHere { get { @@ -1348,7 +1357,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 滚动块 的本地化字符串。 + /// Looks up a localized string similar to 滚动块. /// public static string RunningBlock { get { @@ -1357,7 +1366,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 滚动视图 的本地化字符串。 + /// Looks up a localized string similar to 滚动视图. /// public static string ScrollViewer { get { @@ -1366,7 +1375,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 搜索栏 的本地化字符串。 + /// Looks up a localized string similar to 搜索栏. /// public static string SearchBar { get { @@ -1375,7 +1384,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 秒 的本地化字符串。 + /// Looks up a localized string similar to 秒. /// public static string Second { get { @@ -1384,7 +1393,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 选中 的本地化字符串。 + /// Looks up a localized string similar to 选中. /// public static string Selected { get { @@ -1393,7 +1402,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 发送通知 的本地化字符串。 + /// Looks up a localized string similar to 发送通知. /// public static string SendNotification { get { @@ -1402,7 +1411,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 徽章 的本地化字符串。 + /// Looks up a localized string similar to 徽章. /// public static string Shield { get { @@ -1411,7 +1420,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 在当前窗口显示 的本地化字符串。 + /// Looks up a localized string similar to 在当前窗口显示. /// public static string ShowInCurrentWindow { get { @@ -1420,7 +1429,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 在主窗口显示 的本地化字符串。 + /// Looks up a localized string similar to 在主窗口显示. /// public static string ShowInMainWindow { get { @@ -1429,7 +1438,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 显示行号 的本地化字符串。 + /// Looks up a localized string similar to 显示行号. /// public static string ShowRowNumber { get { @@ -1438,7 +1447,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 侧边菜单 的本地化字符串。 + /// Looks up a localized string similar to 侧边菜单. /// public static string SideMenu { get { @@ -1447,7 +1456,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 滑块 的本地化字符串。 + /// Looks up a localized string similar to 滑块. /// public static string Slider { get { @@ -1456,7 +1465,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 分割按钮 的本地化字符串。 + /// Looks up a localized string similar to 分割按钮. /// public static string SplitButton { get { @@ -1465,7 +1474,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 精灵 的本地化字符串。 + /// Looks up a localized string similar to 精灵. /// public static string Sprite { get { @@ -1474,7 +1483,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 保持打开 的本地化字符串。 + /// Looks up a localized string similar to 保持打开. /// public static string StaysOpen { get { @@ -1483,7 +1492,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 步骤 的本地化字符串。 + /// Looks up a localized string similar to 步骤. /// public static string Step { get { @@ -1492,7 +1501,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 步骤条 的本地化字符串。 + /// Looks up a localized string similar to 步骤条. /// public static string StepBar { get { @@ -1501,7 +1510,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 样式模板 的本地化字符串。 + /// Looks up a localized string similar to 样式模板. /// public static string Styles { get { @@ -1510,7 +1519,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 子标题 的本地化字符串。 + /// Looks up a localized string similar to 子标题. /// public static string SubTitle { get { @@ -1519,7 +1528,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 成功 的本地化字符串。 + /// Looks up a localized string similar to 成功. /// public static string Success { get { @@ -1528,7 +1537,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 选项卡控件 的本地化字符串。 + /// Looks up a localized string similar to 选项卡控件. /// public static string TabControl { get { @@ -1537,7 +1546,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 标签 的本地化字符串。 + /// Looks up a localized string similar to 标签. /// public static string Tag { get { @@ -1546,7 +1555,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 正文 的本地化字符串。 + /// Looks up a localized string similar to 正文. /// public static string Text { get { @@ -1555,7 +1564,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 文本块 的本地化字符串。 + /// Looks up a localized string similar to 文本块. /// public static string TextBlock { get { @@ -1564,7 +1573,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 文本框 的本地化字符串。 + /// Looks up a localized string similar to 文本框. /// public static string TextBox { get { @@ -1573,7 +1582,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 文本对话框 的本地化字符串。 + /// Looks up a localized string similar to 文本对话框. /// public static string TextDialog { get { @@ -1582,7 +1591,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 文本对话框,带计时器 的本地化字符串。 + /// Looks up a localized string similar to 文本对话框,带计时器. /// public static string TextDialogWithTimer { get { @@ -1591,7 +1600,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 时间条 的本地化字符串。 + /// Looks up a localized string similar to 时间条. /// public static string TimeBar { get { @@ -1600,7 +1609,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 时间选择器 的本地化字符串。 + /// Looks up a localized string similar to 时间选择器. /// public static string TimePicker { get { @@ -1609,7 +1618,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 提示 的本地化字符串。 + /// Looks up a localized string similar to 提示. /// public static string Tip { get { @@ -1618,7 +1627,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 标题 的本地化字符串。 + /// Looks up a localized string similar to 标题. /// public static string Title { get { @@ -1627,7 +1636,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 这是标题 的本地化字符串。 + /// Looks up a localized string similar to 这是标题. /// public static string TitleDemoStr1 { get { @@ -1636,7 +1645,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 此项必填 的本地化字符串。 + /// Looks up a localized string similar to 此项必填. /// public static string TitleDemoStr2 { get { @@ -1645,7 +1654,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 标题在左侧 的本地化字符串。 + /// Looks up a localized string similar to 标题在左侧. /// public static string TitleDemoStr3 { get { @@ -1654,7 +1663,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 切换按钮 的本地化字符串。 + /// Looks up a localized string similar to 切换按钮. /// public static string ToggleButton { get { @@ -1663,7 +1672,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 工具条 的本地化字符串。 + /// Looks up a localized string similar to 工具条. /// public static string ToolBar { get { @@ -1672,7 +1681,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 工具 的本地化字符串。 + /// Looks up a localized string similar to 工具. /// public static string Tools { get { @@ -1681,7 +1690,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 穿梭框 的本地化字符串。 + /// Looks up a localized string similar to 穿梭框. /// public static string Transfer { get { @@ -1690,7 +1699,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 内容过渡控件 的本地化字符串。 + /// Looks up a localized string similar to 内容过渡控件. /// public static string TransitioningContentControl { get { @@ -1699,7 +1708,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 树视图 的本地化字符串。 + /// Looks up a localized string similar to 树视图. /// public static string TreeView { get { @@ -1708,7 +1717,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 试试关闭程序吧? 的本地化字符串。 + /// Looks up a localized string similar to 试试关闭程序吧?. /// public static string Try2CloseApp { get { @@ -1717,7 +1726,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 类型 的本地化字符串。 + /// Looks up a localized string similar to 类型. /// public static string Type { get { @@ -1726,7 +1735,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 上传文件 的本地化字符串。 + /// Looks up a localized string similar to 上传文件. /// public static string UploadFile { get { @@ -1735,7 +1744,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 上传;上传中 的本地化字符串。 + /// Looks up a localized string similar to 上传;上传中. /// public static string UploadStr { get { @@ -1744,7 +1753,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 可见性 的本地化字符串。 + /// Looks up a localized string similar to 可见性. /// public static string Visibility { get { @@ -1753,7 +1762,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 警告 的本地化字符串。 + /// Looks up a localized string similar to 警告. /// public static string Warning { get { @@ -1762,7 +1771,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 瀑布流 的本地化字符串。 + /// Looks up a localized string similar to 瀑布流. /// public static string WaterfallPanel { get { @@ -1771,7 +1780,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// 查找类似 窗口 的本地化字符串。 + /// Looks up a localized string similar to 窗口. /// public static string Window { get { diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx index 95647270..4a515dc1 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx @@ -690,4 +690,7 @@ Drawer + + Documentation + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx index f7c92746..1b8d84f1 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx @@ -690,4 +690,7 @@ Drawer + + مستندات + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx index cd855df0..f45a2d8d 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx @@ -690,4 +690,7 @@ Drawer + + Documentation + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx index 813ca2e5..c80e3738 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx @@ -690,4 +690,7 @@ 抽屉 + + 文献资料 + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Geometries.xaml b/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Geometries.xaml index ca18bb48..527348a0 100644 --- a/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Geometries.xaml +++ b/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Geometries.xaml @@ -22,5 +22,6 @@ M936.194300839506 691.6934192494618c-5.891587367822223-94.26540047423211-70.69904970840491-170.8560375504593-106.04857520987652-212.09715041975304 5.891587367822223-11.783174735644446 17.674762103466666-79.53643140740742-29.457938133649378-126.66913164452346V349.981342854005c0-182.63921228610366-129.61492468116543-315.1999312984493-294.57937486380246-315.1999312984493s-294.57937615834066 132.5607190123457-294.57937615834066 315.1999312984493v2.9457943311802466c-47.132700237116055 47.132700237116055-35.349525501471604 114.885956908879-29.45793683911111 126.66913164452346-35.349525501471604 41.24111286929382-100.15698784205432 117.83174994552098-106.04857520987652 212.09715041975304 0 23.56634947128889 2.9457943311802466 58.91587497276049 14.728969066824689 76.59063707622718 14.728969066824689 20.62055643464691 55.97008193611851-2.9457943311802466 82.48222444404936-64.80746234058272 8.837381699002469 29.457938133649378 26.51214380246913 73.64484403958517 67.75325667176295 126.66913164452346-70.69904970840491 14.728969066824689-88.37381310640988 85.42801877522965-64.80746234058272 123.72333731334321 17.674762103466666 26.51214380246913 53.02428760493826 47.132700237116055 120.77754298216297 47.132700237116055 114.885956908879 0 167.9102445138173-32.40373117029136 191.4765952796444-53.02428760493826 5.891587367822223-5.891587367822223 11.783174735644446-5.891587367822223 20.620555140108642-5.891587367822223 8.837381699002469 0 14.728969066824689 2.9457943311802466 20.62055643464691 5.891587367822223 23.56634947128889 20.62055643464691 73.64484403958517 53.02428760493826 191.4765939851062 53.02428760493826 64.80746234058272 0 103.10278087869627-20.62055643464691 120.77754427670124-47.132700237116055 23.56634947128889-38.29531853811359 2.9457943311802466-106.04857520987652-64.80746234058272-123.72333731334321 41.24111286929382-55.97008193611851 58.91587497276049-100.15698784205432 67.75325667176295-126.66913164452346 29.457938133649378 61.86166930394074 67.75325667176295 85.42801877522965 82.48222444404936 64.80746234058272 5.891587367822223-17.674762103466666 11.783174735644446-53.02428760493826 8.837381699002469-76.59063707622718z m0 0 M838.4 325.12 554.24 479.36C528 493.44 512 521.6 512 552.96l0 298.24c0 32 31.36 53.12 57.6 38.4l284.16-154.24c25.6-14.08 42.24-42.24 42.24-73.6L896 364.16C896 331.52 864.64 311.04 838.4 325.12zM405.76 478.72 121.6 325.12C95.36 311.04 64 331.52 64 363.52l0 299.52c0 31.36 16 59.52 42.24 73.6l284.16 153.6C416.64 904.32 448 883.2 448 851.2L448 552.32C448 520.96 432 492.8 405.76 478.72zM812.16 255.36c13.44-7.04 19.84-19.2 18.56-30.72 1.28-12.16-5.12-23.68-18.56-30.72L522.88 42.88c-12.8-7.04-28.16-10.24-43.52-10.24-15.36 0-30.72 3.2-43.52 10.24L146.56 193.28C133.12 200.32 127.36 212.48 128 224 127.36 236.16 133.12 248.32 146.56 255.36l289.28 150.4c12.8 7.04 28.16 10.24 43.52 10.24 15.36 0 30.72-3.2 43.52-10.24L812.16 255.36z M1137.575865 0l0 795.939663-267.130435 228.060337-870.44543 0 0-1024 1137.575865 0zM795.939663 682.363798l-626.030169 0 0 113.575865 626.030169 0 0-113.575865zM966.757764 455.212067l-796.84827 0 0 113.575865 796.84827 0 0-113.575865zM966.757764 227.15173l-796.84827 0 0 114.484472 796.84827 0 0-114.484472z + M23.063,0L11,12L3,6L0,7v15l3,2l8-6l11.875,12L30,27V2.938L23.063,0z M3,19v-8l5,4L3,19z M23,21l-8-6l8-6V21z \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml b/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml index 3857a4e2..924c5ed7 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml @@ -23,6 +23,28 @@ + + + + + + + + + + + + + + + + + + + + + + From 47837970ecae55f67724ea1ec2eb77e464803264 Mon Sep 17 00:00:00 2001 From: Mahdi Date: Thu, 12 Dec 2019 23:08:37 +0330 Subject: [PATCH 02/17] update ResourceToken --- .../HandyControl_Shared/Data/ResourceToken.cs | 132 +++++++++++++++++- 1 file changed, 126 insertions(+), 6 deletions(-) diff --git a/src/Shared/HandyControl_Shared/Data/ResourceToken.cs b/src/Shared/HandyControl_Shared/Data/ResourceToken.cs index 4ec115bd..32c3b01a 100644 --- a/src/Shared/HandyControl_Shared/Data/ResourceToken.cs +++ b/src/Shared/HandyControl_Shared/Data/ResourceToken.cs @@ -2,34 +2,153 @@ { public class ResourceToken { + #region Geometry + public const string CalendarGeometry = nameof(CalendarGeometry); + public const string DeleteGeometry = nameof(DeleteGeometry); + public const string DeleteFillCircleGeometry = nameof(DeleteFillCircleGeometry); + public const string CloseGeometry = nameof(CloseGeometry); + public const string UpGeometry = nameof(UpGeometry); + public const string DownGeometry = nameof(DownGeometry); + public const string ClockGeometry = nameof(ClockGeometry); + public const string LeftGeometry = nameof(LeftGeometry); + public const string RightGeometry = nameof(RightGeometry); + public const string RotateLeftGeometry = nameof(RotateLeftGeometry); + public const string EnlargeGeometry = nameof(EnlargeGeometry); + public const string ReduceGeometry = nameof(ReduceGeometry); + public const string DownloadGeometry = nameof(DownloadGeometry); + public const string SaveGeometry = nameof(SaveGeometry); + public const string WindowsGeometry = nameof(WindowsGeometry); + public const string FullScreenGeometry = nameof(FullScreenGeometry); + public const string FullScreenReturnGeometry = nameof(FullScreenReturnGeometry); + public const string SearchGeometry = nameof(SearchGeometry); + public const string UpDownGeometry = nameof(UpDownGeometry); + public const string WindowMinGeometry = nameof(WindowMinGeometry); + public const string CheckedGeometry = nameof(CheckedGeometry); + public const string EyeOpenGeometry = nameof(EyeOpenGeometry); + public const string EyeCloseGeometry = nameof(EyeCloseGeometry); + public const string WindowRestoreGeometry = nameof(WindowRestoreGeometry); + public const string WindowMaxGeometry = nameof(WindowMaxGeometry); + public const string AudioGeometry = nameof(AudioGeometry); + public const string BubbleTailGeometry = nameof(BubbleTailGeometry); + public const string StarGeometry = nameof(StarGeometry); + public const string AddGeometry = nameof(AddGeometry); + public const string SubGeometry = nameof(SubGeometry); + public const string AllGeometry = nameof(AllGeometry); + public const string DragGeometry = nameof(DragGeometry); + public const string DropperGeometry = nameof(DropperGeometry); public const string SuccessGeometry = nameof(SuccessGeometry); - public const string InfoGeometry = nameof(InfoGeometry); - public const string ErrorGeometry = nameof(ErrorGeometry); - public const string WarningGeometry = nameof(WarningGeometry); - public const string AskGeometry = nameof(AskGeometry); - public const string FatalGeometry = nameof(FatalGeometry); + #endregion + #region Brush public const string PrimaryBrush = nameof(PrimaryBrush); - + public const string DarkPrimaryBrush = nameof(DarkPrimaryBrush); public const string SuccessBrush = nameof(SuccessBrush); + public const string DarkSuccessBrush = nameof(DarkSuccessBrush); public const string InfoBrush = nameof(InfoBrush); + public const string DarkInfoBrush = nameof(DarkInfoBrush); public const string DangerBrush = nameof(DangerBrush); + public const string DarkDangerBrush = nameof(DarkDangerBrush); public const string WarningBrush = nameof(WarningBrush); + public const string DarkWarningBrush = nameof(DarkWarningBrush); public const string AccentBrush = nameof(AccentBrush); + public const string DarkAccentBrush = nameof(DarkAccentBrush); public const string PrimaryTextBrush = nameof(PrimaryTextBrush); + public const string SecondaryTextBrush = nameof(SecondaryTextBrush); public const string ThirdlyTextBrush = nameof(ThirdlyTextBrush); + public const string ReverseTextBrush = nameof(ReverseTextBrush); + public const string TextIconBrush = nameof(TextIconBrush); + public const string BorderBrush = nameof(BorderBrush); + public const string SecondaryBorderBrush = nameof(SecondaryBorderBrush); + public const string BackgroundBrush = nameof(BackgroundBrush); + public const string RegionBrush = nameof(RegionBrush); + public const string SecondaryRegionBrush = nameof(SecondaryRegionBrush); + public const string ThirdlyRegionBrush = nameof(ThirdlyRegionBrush); + public const string TitleBrush = nameof(TitleBrush); + public const string DefaultBrush = nameof(DefaultBrush); + public const string DarkDefaultBrush = nameof(DarkDefaultBrush); + public const string DarkMaskBrush = nameof(DarkMaskBrush); + public const string DarkOpacityBrush = nameof(DarkOpacityBrush); + #endregion + #region Converter + public const string Boolean2BooleanReConverter = nameof(Boolean2BooleanReConverter); + public const string Boolean2VisibilityReConverter = nameof(Boolean2VisibilityReConverter); + public const string BooleanArr2VisibilityConverter = nameof(BooleanArr2VisibilityConverter); + public const string Long2FileSizeConverter = nameof(Long2FileSizeConverter); + public const string String2VisibilityConverter = nameof(String2VisibilityConverter); + public const string String2VisibilityReConverter = nameof(String2VisibilityReConverter); + public const string Boolean2VisibilityConverter = nameof(Boolean2VisibilityConverter); + public const string TreeViewItemMarginConverter = nameof(TreeViewItemMarginConverter); + public const string Color2HexStringConverter = nameof(Color2HexStringConverter); + public const string Object2BooleanConverter = nameof(Object2BooleanConverter); + public const string Boolean2StringConverter = nameof(Boolean2StringConverter); + public const string Int2StringConverter = nameof(Int2StringConverter); + public const string BorderClipConverter = nameof(BorderClipConverter); + public const string BorderCircularClipConverter = nameof(BorderCircularClipConverter); + public const string BorderCircularConverter = nameof(BorderCircularConverter); + public const string Object2VisibilityConverter = nameof(Object2VisibilityConverter); + public const string Number2PercentageConverter = nameof(Number2PercentageConverter); + public const string RectangleCircularConverter = nameof(RectangleCircularConverter); + public const string ThicknessSplitConverter = nameof(ThicknessSplitConverter); + public const string CornerRadiusSplitConverter = nameof(CornerRadiusSplitConverter); + public const string MenuScrollingVisibilityConverter = nameof(MenuScrollingVisibilityConverter); + public const string Double2GridLengthConverter = nameof(Double2GridLengthConverter); + + #endregion + + #region Effect + public const string EffectShadowColor = nameof(EffectShadowColor); + public const string EffectShadow1 = nameof(EffectShadow1); + public const string EffectShadow2 = nameof(EffectShadow2); + public const string EffectShadow3 = nameof(EffectShadow3); + public const string EffectShadow4 = nameof(EffectShadow4); + public const string EffectShadow5 = nameof(EffectShadow5); + #endregion + + #region Colors + public const string PrimaryColor = nameof(PrimaryColor); + public const string DarkPrimaryColor = nameof(DarkPrimaryColor); + public const string DangerColor = nameof(DangerColor); + public const string DarkDangerColor = nameof(DarkDangerColor); + public const string WarningColor = nameof(WarningColor); + public const string DarkWarningColor = nameof(DarkWarningColor); + public const string InfoColor = nameof(InfoColor); + public const string DarkInfoColor = nameof(DarkInfoColor); + public const string SuccessColor = nameof(SuccessColor); + public const string DarkSuccessColor = nameof(DarkSuccessColor); + public const string PrimaryTextColor = nameof(PrimaryTextColor); + public const string SecondaryTextColor = nameof(SecondaryTextColor); + public const string ThirdlyTextColor = nameof(ThirdlyTextColor); + public const string ReverseTextColor = nameof(ReverseTextColor); + public const string TextIconColor = nameof(TextIconColor); + public const string BorderColor = nameof(BorderColor); + public const string SecondaryBorderColor = nameof(SecondaryBorderColor); + public const string BackgroundColor = nameof(BackgroundColor); + public const string RegionColor = nameof(RegionColor); + public const string SecondaryRegionColor = nameof(SecondaryRegionColor); + public const string ThirdlyRegionColor = nameof(ThirdlyRegionColor); + public const string TitleColor = nameof(TitleColor); + public const string SecondaryTitleColor = nameof(SecondaryTitleColor); + public const string DefaultColor = nameof(DefaultColor); + public const string DarkDefaultColor = nameof(DarkDefaultColor); + public const string AccentColor = nameof(AccentColor); + public const string DarkAccentColor = nameof(DarkAccentColor); + public const string DarkMaskColor = nameof(DarkMaskColor); + public const string DarkOpacityColor = nameof(DarkOpacityColor); + #endregion + + #region Internal internal const string BlurGradientValue = nameof(BlurGradientValue); internal const string ButtonCustom = nameof(ButtonCustom); @@ -89,5 +208,6 @@ internal const string TabItemCapsuleVerticalLast = nameof(TabItemCapsuleVerticalLast); internal const string BehaviorXY400 = nameof(BehaviorXY400); + #endregion } } \ No newline at end of file From f1dca283f84231cd3c09e426fa0a1810da89c42a Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sat, 14 Dec 2019 01:33:32 +0800 Subject: [PATCH 03/17] add ColorComplementEffect --- .../HandyControl_Core_30.csproj | 3 ++ .../HandyControl_Net_40.csproj | 3 ++ .../HandyControl_Net_GE45.csproj | 3 ++ .../HandyControl_Shared.projitems | 1 + .../Media/Effects/ColorComplementEffect.cs | 34 ++++++++++++++++++ .../Properties/AssemblyInfo.cs | 1 + .../Effects/ColorComplementEffect.ps | Bin 0 -> 220 bytes 7 files changed, 45 insertions(+) create mode 100644 src/Shared/HandyControl_Shared/Media/Effects/ColorComplementEffect.cs create mode 100644 src/Shared/HandyControl_Shared/Resources/Effects/ColorComplementEffect.ps diff --git a/src/Core_30/HandyControl_Core_30/HandyControl_Core_30.csproj b/src/Core_30/HandyControl_Core_30/HandyControl_Core_30.csproj index 07314a19..ce527ed8 100644 --- a/src/Core_30/HandyControl_Core_30/HandyControl_Core_30.csproj +++ b/src/Core_30/HandyControl_Core_30/HandyControl_Core_30.csproj @@ -56,5 +56,8 @@ Resources\dropper.cur + + Resources\Effects\ColorComplementEffect.ps + \ No newline at end of file diff --git a/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj b/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj index 28017834..3017e107 100644 --- a/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj +++ b/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj @@ -108,6 +108,9 @@ Resources\dropper.cur + + Resources\Effects\ColorComplementEffect.ps + diff --git a/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj b/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj index 49bc677b..5c685b76 100644 --- a/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj +++ b/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj @@ -179,6 +179,9 @@ Resources\dropper.cur + + Resources\Effects\ColorComplementEffect.ps + diff --git a/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems b/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems index b01bf9b2..f5f1e48d 100644 --- a/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems +++ b/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems @@ -58,6 +58,7 @@ + diff --git a/src/Shared/HandyControl_Shared/Media/Effects/ColorComplementEffect.cs b/src/Shared/HandyControl_Shared/Media/Effects/ColorComplementEffect.cs new file mode 100644 index 00000000..bae72b0d --- /dev/null +++ b/src/Shared/HandyControl_Shared/Media/Effects/ColorComplementEffect.cs @@ -0,0 +1,34 @@ +using System; +using System.Windows; +using System.Windows.Media; +using System.Windows.Media.Effects; + +namespace HandyControl.Media.Effects +{ + public class ColorComplementEffect : ShaderEffect + { + public static readonly DependencyProperty InputProperty = RegisterPixelShaderSamplerProperty("Input", typeof(ColorComplementEffect), 0); + + private static readonly PixelShader Shader; + + static ColorComplementEffect() + { + Shader = new PixelShader + { + UriSource = new Uri("pack://application:,,,/HandyControl;component/Resources/Effects/ColorComplementEffect.ps") + }; + } + + public ColorComplementEffect() + { + PixelShader = Shader; + UpdateShaderValue(InputProperty); + } + + public Brush Input + { + get => (Brush)GetValue(InputProperty); + set => SetValue(InputProperty, value); + } + } +} diff --git a/src/Shared/HandyControl_Shared/Properties/AssemblyInfo.cs b/src/Shared/HandyControl_Shared/Properties/AssemblyInfo.cs index 65c79a43..8b80dbb4 100644 --- a/src/Shared/HandyControl_Shared/Properties/AssemblyInfo.cs +++ b/src/Shared/HandyControl_Shared/Properties/AssemblyInfo.cs @@ -22,6 +22,7 @@ using System.Runtime.InteropServices; [assembly: XmlnsDefinition("https://handyorg.github.io/handycontrol", "HandyControl.Expression.Shapes")] [assembly: XmlnsDefinition("https://handyorg.github.io/handycontrol", "HandyControl.Expression.Media")] [assembly: XmlnsDefinition("https://handyorg.github.io/handycontrol", "HandyControl.Media.Animation")] +[assembly: XmlnsDefinition("https://handyorg.github.io/handycontrol", "HandyControl.Media.Effects")] [assembly: XmlnsDefinition("https://handyorg.github.io/handycontrol", "HandyControl.Data")] [assembly: XmlnsDefinition("https://handyorg.github.io/handycontrol", "HandyControl.Properties.Langs")] [assembly: XmlnsPrefix("https://handyorg.github.io/handycontrol", "hc")] \ No newline at end of file diff --git a/src/Shared/HandyControl_Shared/Resources/Effects/ColorComplementEffect.ps b/src/Shared/HandyControl_Shared/Resources/Effects/ColorComplementEffect.ps new file mode 100644 index 0000000000000000000000000000000000000000..bfeb1a745ae543475ec9616e0dd98d471b0db684 GIT binary patch literal 220 zcmZQz`v3pme`N;e5Jx8&1_p+3AZ7rHF#;(Np8?1S08$1(%nar-F*pEe5Xj6e$jMC3 zEb+`MC@o=Fy_$uA2dEqbA)uf*-YDLH!8bFxD8D#Atwcd1NK?VXC)h_JI3qD7wMfA^ zKer$=2gtD0Gcwn+G&RyQHZU?`kO#T|XhH+f#tl&R1O^WN1x{cm@B_u4Y+&GcvH++E a=p=R!zmb9Ae*@57CZIYHzv2IX1_l5Z Date: Sat, 14 Dec 2019 13:47:05 +0800 Subject: [PATCH 04/17] add GrayScaleEffect --- README.md | 8 ++- .../HandyControlDemo_Core30.csproj | 3 ++ .../HandyControl_Core_30.csproj | 5 ++ .../HandyControlDemo_Net_40.csproj | 3 ++ .../HandyControl_Net_40.csproj | 5 ++ .../HandyControlDemo_Net_GE45.csproj | 3 ++ .../HandyControl_Net_GE45.csproj | 5 ++ .../Data/DemoInfo.json | 3 +- .../HandyControlDemo_Shared.projitems | 7 +++ .../Properties/Langs/Lang.Designer.cs | 9 ++++ .../Properties/Langs/Lang.en.resx | 3 ++ .../Properties/Langs/Lang.fa.resx | 3 ++ .../Properties/Langs/Lang.fr.resx | 3 ++ .../Properties/Langs/Lang.resx | 3 ++ .../Img/LeftMainContent/Effects_16x.png | Bin 0 -> 369 bytes .../UserControl/Tools/EffectsDemoCtl.xaml | 26 ++++++++++ .../UserControl/Tools/EffectsDemoCtl.xaml.cs | 10 ++++ .../HandyControl_Shared.projitems | 1 + .../Media/Effects/ColorComplementEffect.cs | 1 + .../Media/Effects/GrayScaleEffect.cs | 46 ++++++++++++++++++ .../Resources/Effects/GrayScaleEffect.ps | Bin 0 -> 384 bytes 21 files changed, 144 insertions(+), 3 deletions(-) create mode 100644 src/Shared/HandyControlDemo_Shared/Resources/Img/LeftMainContent/Effects_16x.png create mode 100644 src/Shared/HandyControlDemo_Shared/UserControl/Tools/EffectsDemoCtl.xaml create mode 100644 src/Shared/HandyControlDemo_Shared/UserControl/Tools/EffectsDemoCtl.xaml.cs create mode 100644 src/Shared/HandyControl_Shared/Media/Effects/GrayScaleEffect.cs create mode 100644 src/Shared/HandyControl_Shared/Resources/Effects/GrayScaleEffect.ps diff --git a/README.md b/README.md index 62aca62e..8b8986d6 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,10 @@ Step 4:enjoy coding ## Latest examples +### Effects + +![Effects](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Effects.png) + ### RelativePanel ![RelativePanel](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/RelativePanel.png) @@ -107,12 +111,12 @@ Step 4:enjoy coding ![Divider](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/Divider.png) +## History publication + ### GeometryAnimation ![GeometryAnimation](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/GeometryAnimation.gif) -## History publication - ### SplitButton ![SplitButton](https://raw.githubusercontent.com/HandyOrg/HandyOrgResource/master/HandyControl/Resources/SplitButton.png) diff --git a/src/Core_30/HandyControlDemo_Core_30/HandyControlDemo_Core30.csproj b/src/Core_30/HandyControlDemo_Core_30/HandyControlDemo_Core30.csproj index bd93971a..b343a399 100644 --- a/src/Core_30/HandyControlDemo_Core_30/HandyControlDemo_Core30.csproj +++ b/src/Core_30/HandyControlDemo_Core_30/HandyControlDemo_Core30.csproj @@ -451,6 +451,9 @@ Resources\Img\LeftMainContent\TransformRelative_16x.png + + Resources\Img\LeftMainContent\Effects_16x.png + diff --git a/src/Core_30/HandyControl_Core_30/HandyControl_Core_30.csproj b/src/Core_30/HandyControl_Core_30/HandyControl_Core_30.csproj index ce527ed8..97e75628 100644 --- a/src/Core_30/HandyControl_Core_30/HandyControl_Core_30.csproj +++ b/src/Core_30/HandyControl_Core_30/HandyControl_Core_30.csproj @@ -56,8 +56,13 @@ Resources\dropper.cur + + Resources\Effects\ColorComplementEffect.ps + + Resources\Effects\GrayScaleEffect.ps + \ No newline at end of file diff --git a/src/Net_40/HandyControlDemo_Net_40/HandyControlDemo_Net_40.csproj b/src/Net_40/HandyControlDemo_Net_40/HandyControlDemo_Net_40.csproj index 65e72972..dad16ae2 100644 --- a/src/Net_40/HandyControlDemo_Net_40/HandyControlDemo_Net_40.csproj +++ b/src/Net_40/HandyControlDemo_Net_40/HandyControlDemo_Net_40.csproj @@ -430,6 +430,9 @@ TextTemplatingFileGenerator MessageToken.cs + + Resources\Img\LeftMainContent\Effects_16x.png + Resources\Img\LeftMainContent\TransformRelative_16x.png diff --git a/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj b/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj index 3017e107..f6d5903f 100644 --- a/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj +++ b/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj @@ -108,9 +108,14 @@ Resources\dropper.cur + + Resources\Effects\ColorComplementEffect.ps + + Resources\Effects\GrayScaleEffect.ps + diff --git a/src/Net_GE45/HandyControlDemo_Net_GE45/HandyControlDemo_Net_GE45.csproj b/src/Net_GE45/HandyControlDemo_Net_GE45/HandyControlDemo_Net_GE45.csproj index 8a6b97f4..3577548d 100644 --- a/src/Net_GE45/HandyControlDemo_Net_GE45/HandyControlDemo_Net_GE45.csproj +++ b/src/Net_GE45/HandyControlDemo_Net_GE45/HandyControlDemo_Net_GE45.csproj @@ -496,6 +496,9 @@ TextTemplatingFileGenerator MessageToken.cs + + Resources\Img\LeftMainContent\Effects_16x.png + Resources\Img\LeftMainContent\TransformRelative_16x.png diff --git a/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj b/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj index 5c685b76..8ad765a1 100644 --- a/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj +++ b/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj @@ -179,9 +179,14 @@ Resources\dropper.cur + + Resources\Effects\ColorComplementEffect.ps + + Resources\Effects\GrayScaleEffect.ps + diff --git a/src/Shared/HandyControlDemo_Shared/Data/DemoInfo.json b/src/Shared/HandyControlDemo_Shared/Data/DemoInfo.json index 92439c37..18f69028 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/DemoInfo.json +++ b/src/Shared/HandyControlDemo_Shared/Data/DemoInfo.json @@ -101,7 +101,8 @@ "title": "Tools", "demoItemList": [ [ "HatchBrushGenerator", "HatchBrushGeneratorDemoCtl", "DataGenerator_16x", "" ], - [ "Morphing Animation", "GeometryAnimationDemoCtl", "Animation_16x", "1" ] + [ "Morphing Animation", "GeometryAnimationDemoCtl", "Animation_16x", "" ], + [ "Effects", "EffectsDemoCtl", "Effects_16x", "1" ] ] } ] \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems b/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems index 4fe569a5..c1fd7462 100644 --- a/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems +++ b/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems @@ -347,6 +347,9 @@ TreeViewDemoCtl.xaml + + EffectsDemoCtl.xaml + GeometryAnimationDemoCtl.xaml @@ -863,6 +866,10 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + Designer MSBuild:Compile diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs index 0aa76e77..0d469540 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs @@ -519,6 +519,15 @@ namespace HandyControlDemo.Properties.Langs { } } + /// + /// 查找类似 效果 的本地化字符串。 + /// + public static string Effects { + get { + return ResourceManager.GetString("Effects", resourceCulture); + } + } + /// /// 查找类似 邮箱 的本地化字符串。 /// diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx index 95647270..561df37e 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx @@ -690,4 +690,7 @@ Drawer + + Effects + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx index f7c92746..b0c64b31 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx @@ -690,4 +690,7 @@ Drawer + + Effects + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx index cd855df0..17878747 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx @@ -690,4 +690,7 @@ Drawer + + Effects + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx index 813ca2e5..ca3e4807 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx @@ -690,4 +690,7 @@ 抽屉 + + 效果 + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Resources/Img/LeftMainContent/Effects_16x.png b/src/Shared/HandyControlDemo_Shared/Resources/Img/LeftMainContent/Effects_16x.png new file mode 100644 index 0000000000000000000000000000000000000000..67d9e6142c4d2cfa4811ea3c4f3f65cb2394c687 GIT binary patch literal 369 zcmV-%0gnEOP)pGBS}O-RCr$1lCO?~KoEy{gg!zap^wnuNwByIJRWrld%=^OM4rG? zjjF*Hk66J!xwqeBm*%zxbK*!w%JTb_Hh_(7zXb4=Y>uH z5OP2P0)8N{*#Sb3*#l?f1hg;oS0^x?;OrLbFWNr~aCXSh%=3H+{?+#b?i8jaD+S}f P00000NkvXXu0mjf;3T4< literal 0 HcmV?d00001 diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Tools/EffectsDemoCtl.xaml b/src/Shared/HandyControlDemo_Shared/UserControl/Tools/EffectsDemoCtl.xaml new file mode 100644 index 00000000..312cec54 --- /dev/null +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Tools/EffectsDemoCtl.xaml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Tools/EffectsDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Tools/EffectsDemoCtl.xaml.cs new file mode 100644 index 00000000..7f56b93f --- /dev/null +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Tools/EffectsDemoCtl.xaml.cs @@ -0,0 +1,10 @@ +namespace HandyControlDemo.UserControl +{ + public partial class EffectsDemoCtl + { + public EffectsDemoCtl() + { + InitializeComponent(); + } + } +} diff --git a/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems b/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems index f5f1e48d..e8fea193 100644 --- a/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems +++ b/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems @@ -59,6 +59,7 @@ + diff --git a/src/Shared/HandyControl_Shared/Media/Effects/ColorComplementEffect.cs b/src/Shared/HandyControl_Shared/Media/Effects/ColorComplementEffect.cs index bae72b0d..f9871671 100644 --- a/src/Shared/HandyControl_Shared/Media/Effects/ColorComplementEffect.cs +++ b/src/Shared/HandyControl_Shared/Media/Effects/ColorComplementEffect.cs @@ -22,6 +22,7 @@ namespace HandyControl.Media.Effects public ColorComplementEffect() { PixelShader = Shader; + UpdateShaderValue(InputProperty); } diff --git a/src/Shared/HandyControl_Shared/Media/Effects/GrayScaleEffect.cs b/src/Shared/HandyControl_Shared/Media/Effects/GrayScaleEffect.cs new file mode 100644 index 00000000..2a972ea9 --- /dev/null +++ b/src/Shared/HandyControl_Shared/Media/Effects/GrayScaleEffect.cs @@ -0,0 +1,46 @@ +using System; +using System.Windows; +using System.Windows.Media; +using System.Windows.Media.Effects; +using HandyControl.Data; + +namespace HandyControl.Media.Effects +{ + public class GrayScaleEffect : ShaderEffect + { + public static readonly DependencyProperty InputProperty = RegisterPixelShaderSamplerProperty("Input", typeof(GrayScaleEffect), 0); + + private static readonly PixelShader Shader; + + static GrayScaleEffect() + { + Shader = new PixelShader + { + UriSource = new Uri("pack://application:,,,/HandyControl;component/Resources/Effects/GrayScaleEffect.ps") + }; + } + + public GrayScaleEffect() + { + PixelShader = Shader; + + UpdateShaderValue(InputProperty); + UpdateShaderValue(ScaleProperty); + } + + public Brush Input + { + get => (Brush)GetValue(InputProperty); + set => SetValue(InputProperty, value); + } + + public static readonly DependencyProperty ScaleProperty = DependencyProperty.Register( + "Scale", typeof(double), typeof(GrayScaleEffect), new PropertyMetadata(ValueBoxes.Double1Box, PixelShaderConstantCallback(0))); + + public double Scale + { + get => (double) GetValue(ScaleProperty); + set => SetValue(ScaleProperty, value); + } + } +} diff --git a/src/Shared/HandyControl_Shared/Resources/Effects/GrayScaleEffect.ps b/src/Shared/HandyControl_Shared/Resources/Effects/GrayScaleEffect.ps new file mode 100644 index 0000000000000000000000000000000000000000..3b4ab0a9640df2e608132d8f95dbf5c708cacf3f GIT binary patch literal 384 zcmYjMu};G<5Pfl5k)cw40EvvSM3pOqx`1dIKxzkQJ6Ba&gr$^3P1qPB@dJEwn*>{F8=GR1+EbhnW0KVv;CKxP-2YfO-&^wL_EEuhA=(f(|nOK3Q zc3GlgRXn|C9|h{Vi$3#qwU)>0WJ}$?cB*IjO0EW&sd%5}>1z>QzFdWm)A=-S@vALaF}_0%9+<)fcuPh8~eViv;8=S(~JTB E0HJn62><{9 literal 0 HcmV?d00001 From e2e1c6a19358d9aeefead2ebceb483262182db4d Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sat, 14 Dec 2019 14:51:26 +0800 Subject: [PATCH 05/17] fixed #265 --- .../HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs index 65c31f5f..ea624f86 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs @@ -133,7 +133,7 @@ namespace HandyControlDemo.ViewModel } } - var cachePath = $"{AudioCachePath}\\{Guid.NewGuid().ToString()}"; + var cachePath = $"\"{AudioCachePath}\\{Guid.NewGuid().ToString()}\""; ExternDllHelper.MciSendString("stop movie", "", 0, 0); ExternDllHelper.MciSendString($"save movie {cachePath}", "", 0, 0); ExternDllHelper.MciSendString("close movie", "", 0, 0); From 6a20b67f505d6a210deac12dea070b38cfbe2675 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sat, 14 Dec 2019 15:47:06 +0800 Subject: [PATCH 06/17] modified DataGrid style --- .../HandyControl_Core_30/Themes/Styles/DataGrid.xaml | 8 +------- .../HandyControl_Net_40/Themes/Styles/DataGrid.xaml | 8 +------- .../HandyControl_Net_GE45/Themes/Styles/DataGrid.xaml | 8 +------- 3 files changed, 3 insertions(+), 21 deletions(-) diff --git a/src/Core_30/HandyControl_Core_30/Themes/Styles/DataGrid.xaml b/src/Core_30/HandyControl_Core_30/Themes/Styles/DataGrid.xaml index 0381d657..f0e986a1 100644 --- a/src/Core_30/HandyControl_Core_30/Themes/Styles/DataGrid.xaml +++ b/src/Core_30/HandyControl_Core_30/Themes/Styles/DataGrid.xaml @@ -297,13 +297,7 @@ - - - - - - - + diff --git a/src/Net_40/HandyControl_Net_40/Themes/Styles/DataGrid.xaml b/src/Net_40/HandyControl_Net_40/Themes/Styles/DataGrid.xaml index a93c8b55..8137cf91 100644 --- a/src/Net_40/HandyControl_Net_40/Themes/Styles/DataGrid.xaml +++ b/src/Net_40/HandyControl_Net_40/Themes/Styles/DataGrid.xaml @@ -298,13 +298,7 @@ - - - - - - - + diff --git a/src/Net_GE45/HandyControl_Net_GE45/Themes/Styles/DataGrid.xaml b/src/Net_GE45/HandyControl_Net_GE45/Themes/Styles/DataGrid.xaml index 41eecff7..93dade9b 100644 --- a/src/Net_GE45/HandyControl_Net_GE45/Themes/Styles/DataGrid.xaml +++ b/src/Net_GE45/HandyControl_Net_GE45/Themes/Styles/DataGrid.xaml @@ -297,13 +297,7 @@ - - - - - - - + From 3b79db2b4bc635815403519303f14beb822a624c Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sat, 14 Dec 2019 16:01:54 +0800 Subject: [PATCH 07/17] fixed #254 --- .../Themes/Styles/Base/TreeViewBaseStyle.xaml | 3 ++- .../Themes/Styles/Base/TreeViewBaseStyle.xaml | 3 ++- .../Themes/Styles/Base/TreeViewBaseStyle.xaml | 3 ++- .../Themes/Styles/Base/ExpanderBaseStyle.xaml | 2 +- .../Themes/Styles/Base/ListBoxBaseStyle.xaml | 3 ++- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/Core_30/HandyControl_Core_30/Themes/Styles/Base/TreeViewBaseStyle.xaml b/src/Core_30/HandyControl_Core_30/Themes/Styles/Base/TreeViewBaseStyle.xaml index 7cd8f6c3..8050e2b6 100644 --- a/src/Core_30/HandyControl_Core_30/Themes/Styles/Base/TreeViewBaseStyle.xaml +++ b/src/Core_30/HandyControl_Core_30/Themes/Styles/Base/TreeViewBaseStyle.xaml @@ -3,6 +3,7 @@ xmlns:controls="clr-namespace:HandyControl.Controls"> + @@ -47,7 +48,7 @@ - + diff --git a/src/Net_40/HandyControl_Net_40/Themes/Styles/Base/TreeViewBaseStyle.xaml b/src/Net_40/HandyControl_Net_40/Themes/Styles/Base/TreeViewBaseStyle.xaml index 9351e44f..af4a3db6 100644 --- a/src/Net_40/HandyControl_Net_40/Themes/Styles/Base/TreeViewBaseStyle.xaml +++ b/src/Net_40/HandyControl_Net_40/Themes/Styles/Base/TreeViewBaseStyle.xaml @@ -3,6 +3,7 @@ xmlns:controls="clr-namespace:HandyControl.Controls"> + @@ -47,7 +48,7 @@ - + diff --git a/src/Net_GE45/HandyControl_Net_GE45/Themes/Styles/Base/TreeViewBaseStyle.xaml b/src/Net_GE45/HandyControl_Net_GE45/Themes/Styles/Base/TreeViewBaseStyle.xaml index 7cd8f6c3..8050e2b6 100644 --- a/src/Net_GE45/HandyControl_Net_GE45/Themes/Styles/Base/TreeViewBaseStyle.xaml +++ b/src/Net_GE45/HandyControl_Net_GE45/Themes/Styles/Base/TreeViewBaseStyle.xaml @@ -3,6 +3,7 @@ xmlns:controls="clr-namespace:HandyControl.Controls"> + @@ -47,7 +48,7 @@ - + diff --git a/src/Shared/HandyControl_Shared/Themes/Styles/Base/ExpanderBaseStyle.xaml b/src/Shared/HandyControl_Shared/Themes/Styles/Base/ExpanderBaseStyle.xaml index 211affc8..c3dd9d83 100644 --- a/src/Shared/HandyControl_Shared/Themes/Styles/Base/ExpanderBaseStyle.xaml +++ b/src/Shared/HandyControl_Shared/Themes/Styles/Base/ExpanderBaseStyle.xaml @@ -14,7 +14,7 @@ - + diff --git a/src/Shared/HandyControl_Shared/Themes/Styles/Base/ListBoxBaseStyle.xaml b/src/Shared/HandyControl_Shared/Themes/Styles/Base/ListBoxBaseStyle.xaml index 1f6b1131..cc7ffcb3 100644 --- a/src/Shared/HandyControl_Shared/Themes/Styles/Base/ListBoxBaseStyle.xaml +++ b/src/Shared/HandyControl_Shared/Themes/Styles/Base/ListBoxBaseStyle.xaml @@ -4,6 +4,7 @@ + @@ -11,7 +12,7 @@ - + From 7289b3b65bb59369f115824eaf6b21cdde0ba65d Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sat, 14 Dec 2019 16:58:05 +0800 Subject: [PATCH 08/17] Update ChatBoxViewModel.cs --- .../ViewModel/Basic/ChatBoxViewModel.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs index ea624f86..7fc48de2 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/Basic/ChatBoxViewModel.cs @@ -133,9 +133,10 @@ namespace HandyControlDemo.ViewModel } } - var cachePath = $"\"{AudioCachePath}\\{Guid.NewGuid().ToString()}\""; + var cachePath = $"{AudioCachePath}\\{Guid.NewGuid().ToString()}"; + var cachePathWithQuotes = $"\"{cachePath}\""; ExternDllHelper.MciSendString("stop movie", "", 0, 0); - ExternDllHelper.MciSendString($"save movie {cachePath}", "", 0, 0); + ExternDllHelper.MciSendString($"save movie {cachePathWithQuotes}", "", 0, 0); ExternDllHelper.MciSendString("close movie", "", 0, 0); _stopwatch.Stop(); From b0ff7e5b002ca9354ff324736e83b4e8c92e1b57 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sun, 15 Dec 2019 22:10:34 +0800 Subject: [PATCH 09/17] Update GifImage.cs --- .../HandyControl_Shared/Controls/Image/GifImage.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/Shared/HandyControl_Shared/Controls/Image/GifImage.cs b/src/Shared/HandyControl_Shared/Controls/Image/GifImage.cs index 38ac8392..0c6678a2 100644 --- a/src/Shared/HandyControl_Shared/Controls/Image/GifImage.cs +++ b/src/Shared/HandyControl_Shared/Controls/Image/GifImage.cs @@ -39,8 +39,16 @@ namespace HandyControl.Controls private static void OnUriChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { var ctl = (GifImage) d; - var v = (Uri)e.NewValue; - ctl.Source = new BitmapImage(v); + + if (e.NewValue != null) + { + var v = (Uri)e.NewValue; + ctl.Source = new BitmapImage(v); + } + else + { + ctl.Source = null; + } } public Uri Uri From d3ba2e060c9055bd5b93ddf0388ffcc6cec13bf2 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sun, 15 Dec 2019 22:36:34 +0800 Subject: [PATCH 10/17] Update GifImage.cs --- src/Shared/HandyControl_Shared/Controls/Image/GifImage.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Shared/HandyControl_Shared/Controls/Image/GifImage.cs b/src/Shared/HandyControl_Shared/Controls/Image/GifImage.cs index 0c6678a2..114e273b 100644 --- a/src/Shared/HandyControl_Shared/Controls/Image/GifImage.cs +++ b/src/Shared/HandyControl_Shared/Controls/Image/GifImage.cs @@ -39,11 +39,13 @@ namespace HandyControl.Controls private static void OnUriChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { var ctl = (GifImage) d; + ctl.StopAnimate(); if (e.NewValue != null) { var v = (Uri)e.NewValue; - ctl.Source = new BitmapImage(v); + ctl.GetGifStreamFromPack(v); + ctl.StartAnimate(); } else { From ad9485ab61288c5ef7bdc0870f73ff4f9a03b491 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sun, 15 Dec 2019 22:59:24 +0800 Subject: [PATCH 11/17] Update DataGridDemoCtl.xaml --- .../UserControl/Styles/DataGridDemoCtl.xaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/DataGridDemoCtl.xaml b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/DataGridDemoCtl.xaml index 3e4086ea..922b076d 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/DataGridDemoCtl.xaml +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/DataGridDemoCtl.xaml @@ -23,10 +23,10 @@ - + - + @@ -40,10 +40,10 @@ - + - + From 582c4d3a6f2b5e0e50c6df951c9346bd421686e4 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sun, 15 Dec 2019 23:00:21 +0800 Subject: [PATCH 12/17] Update PaginationDemoCtl.xaml --- .../UserControl/Controls/PaginationDemoCtl.xaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PaginationDemoCtl.xaml b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PaginationDemoCtl.xaml index f4695b25..84474d60 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PaginationDemoCtl.xaml +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/PaginationDemoCtl.xaml @@ -26,17 +26,17 @@ - + - + - + From 40c81201641229af239cfa1ade919002f1545ab4 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Mon, 16 Dec 2019 21:57:26 +0800 Subject: [PATCH 13/17] add WebsiteView --- .../Data/MessageToken.cs | 2 ++ .../Data/MessageToken.tt | 1 + .../HandyControlDemo_Shared.projitems | 7 ++++ .../Properties/Langs/Lang.Designer.cs | 9 ++++++ .../Properties/Langs/Lang.en.resx | 3 ++ .../Properties/Langs/Lang.fa.resx | 3 ++ .../Properties/Langs/Lang.fr.resx | 3 ++ .../Properties/Langs/Lang.resx | 3 ++ .../Resources/Themes/Basic/Brushes.xaml | 32 ++++++++++++++++--- .../Resources/Themes/Basic/Geometries.xaml | 1 + .../Service/Data/DataService.cs | 13 ++++++++ .../UserControl/Main/NoUserContent.xaml | 5 +++ .../UserControl/Main/WebsitesView.xaml | 14 ++++++++ .../UserControl/Main/WebsitesView.xaml.cs | 10 ++++++ .../ViewModel/ViewModelLocator.cs | 3 ++ 15 files changed, 105 insertions(+), 4 deletions(-) create mode 100644 src/Shared/HandyControlDemo_Shared/UserControl/Main/WebsitesView.xaml create mode 100644 src/Shared/HandyControlDemo_Shared/UserControl/Main/WebsitesView.xaml.cs diff --git a/src/Shared/HandyControlDemo_Shared/Data/MessageToken.cs b/src/Shared/HandyControlDemo_Shared/Data/MessageToken.cs index 31a98a9a..5c4cab57 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/MessageToken.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/MessageToken.cs @@ -220,6 +220,8 @@ public static readonly string BlogsView = nameof(BlogsView); + public static readonly string WebsitesView = nameof(WebsitesView); + public static readonly string NotifyIconDemo = nameof(NotifyIconDemo); public static readonly string NotifyIconContextDemo = nameof(NotifyIconContextDemo); diff --git a/src/Shared/HandyControlDemo_Shared/Data/MessageToken.tt b/src/Shared/HandyControlDemo_Shared/Data/MessageToken.tt index 10c881f8..75d66f65 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/MessageToken.tt +++ b/src/Shared/HandyControlDemo_Shared/Data/MessageToken.tt @@ -120,6 +120,7 @@ var messageList = new List "OverView", "ProjectsView", "BlogsView", + "WebsitesView", "NotifyIconDemo", "NotifyIconContextDemo" }; diff --git a/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems b/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems index c1fd7462..57b7c22a 100644 --- a/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems +++ b/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems @@ -266,6 +266,9 @@ UnderConstruction.xaml + + WebsitesView.xaml + BorderDemoCtl.xaml @@ -758,6 +761,10 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + Designer MSBuild:Compile diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs index 0d469540..9528222d 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs @@ -1779,6 +1779,15 @@ namespace HandyControlDemo.Properties.Langs { } } + /// + /// 查找类似 网站 的本地化字符串。 + /// + public static string Website { + get { + return ResourceManager.GetString("Website", resourceCulture); + } + } + /// /// 查找类似 窗口 的本地化字符串。 /// diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx index 561df37e..078f76d7 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx @@ -693,4 +693,7 @@ Effects + + Website + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx index b0c64b31..d2e2b04f 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx @@ -693,4 +693,7 @@ Effects + + Website + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx index 17878747..2f010af3 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx @@ -693,4 +693,7 @@ Effects + + Website + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx index ca3e4807..e82d5ab1 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx @@ -693,4 +693,7 @@ 效果 + + 网站 + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Brushes.xaml b/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Brushes.xaml index 8fb15afa..59291a58 100644 --- a/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Brushes.xaml +++ b/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Brushes.xaml @@ -46,7 +46,7 @@ - + @@ -55,7 +55,7 @@ - + @@ -70,7 +70,7 @@ - + @@ -79,7 +79,31 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Geometries.xaml b/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Geometries.xaml index ca18bb48..31d8020a 100644 --- a/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Geometries.xaml +++ b/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Geometries.xaml @@ -9,6 +9,7 @@ M449.722947 199.412211H706.021053c130.967579 0 237.136842 106.169263 237.136842 237.136842v256.298105c0 130.967579-106.169263 237.136842-237.136842 237.136842H449.722947c-130.965895 0-237.136842-106.169263-237.136842-237.136842V436.549053c0-130.967579 106.170947-237.136842 237.136842-237.136842z m-201.205894-21.557895c0-64.299789-70.085053-104.704-125.850948-72.55579s-55.764211 112.96 0 145.111579 125.850947-8.257684 125.850948-72.555789z m239.528421 234.74021c0-68.003368-74.088421-110.736842-133.037474-76.734315s-58.950737 119.467789 0 153.470315 133.039158-8.730947 133.039158-76.736zM835.368421 692.847158c0-117.596632-128.154947-191.494737-230.123789-132.695579s-101.970526 206.593684 0 265.391158S835.368421 810.443789 835.368421 692.847158z M430.079734 481.464543c45.196365 45.596478 118.486578 45.596478 163.68499 0l360.684736-324.939627c0.547469 3.751441 1.13894 7.490601 1.13894 11.401678l0 404.753417 0 116.754121c0 42.995233-34.547841 77.838809-77.145008 77.838809L145.397996 767.272941c-42.597167 0-77.145008-34.844599-77.145008-77.838809L68.252988 494.839155 68.252988 167.926594c0-3.911076 0.593518-7.65126 1.139963-11.401678L430.079734 481.464543zM910.960992 74.226538 562.044278 387.28558c-38.470173 38.811957-62.276369 38.811957-100.770078 0L112.538611 74.408687c10.011005-4.789073 21.069875-7.673773 32.859385-7.673773l733.044372 0C890.095779 66.735937 901.065622 69.539796 910.960992 74.226538z M260.8 645H160V0h100.8v645zM461.8 152.2h-100.8V1024h100.8V152.2z m201.2 0h-100.8V1024h100.8V152.2zM864 152h-100.8v494H864V152z + M698.026667 597.333333C701.44 569.173333 704 541.013333 704 512 704 482.986667 701.44 454.826667 698.026667 426.666667L842.24 426.666667C849.066667 453.973333 853.333333 482.56 853.333333 512 853.333333 541.44 849.066667 570.026667 842.24 597.333333M622.506667 834.56C648.106667 787.2 667.733333 736 681.386667 682.666667L807.253333 682.666667C766.293333 753.066667 701.013333 807.68 622.506667 834.56M611.84 597.333333 412.16 597.333333C407.893333 569.173333 405.333333 541.013333 405.333333 512 405.333333 482.986667 407.893333 454.4 412.16 426.666667L611.84 426.666667C615.68 454.4 618.666667 482.986667 618.666667 512 618.666667 541.013333 615.68 569.173333 611.84 597.333333M512 851.626667C476.586667 800.426667 448 743.68 430.506667 682.666667L593.493333 682.666667C576 743.68 547.413333 800.426667 512 851.626667M341.333333 341.333333 216.746667 341.333333C257.28 270.506667 322.986667 215.893333 401.066667 189.44 375.466667 236.8 356.266667 288 341.333333 341.333333M216.746667 682.666667 341.333333 682.666667C356.266667 736 375.466667 787.2 401.066667 834.56 322.986667 807.68 257.28 753.066667 216.746667 682.666667M181.76 597.333333C174.933333 570.026667 170.666667 541.44 170.666667 512 170.666667 482.56 174.933333 453.973333 181.76 426.666667L325.973333 426.666667C322.56 454.826667 320 482.986667 320 512 320 541.013333 322.56 569.173333 325.973333 597.333333M512 171.946667C547.413333 223.146667 576 280.32 593.493333 341.333333L430.506667 341.333333C448 280.32 476.586667 223.146667 512 171.946667M807.253333 341.333333 681.386667 341.333333C667.733333 288 648.106667 236.8 622.506667 189.44 701.013333 216.32 766.293333 270.506667 807.253333 341.333333M512 85.333333C276.053333 85.333333 85.333333 277.333333 85.333333 512 85.333333 747.52 276.48 938.666667 512 938.666667 747.52 938.666667 938.666667 747.52 938.666667 512 938.666667 276.48 747.52 85.333333 512 85.333333Z m 41.416254,90 c -0.327378,-7.4702 0.20833,-32.7284 0,-39.901 -5.386902,-0.2083 -4.521603,0.3274 -9.848987,0 0.20833,-5.50595 0.36436,-7.66666 0.126269,-13.32142 4.646472,0.0181 3.439989,-0.009 9.848987,-0.1894 0.09586,-3.7736 0.133082,-3.0791 0.126269,-7.38674 0.18259,-3.73943 -0.486609,-10.54308 4.293149,-14.96288 4.779758,-4.4198 13.606811,-3.64808 22.223356,-3.53554 -0.04417,5.73754 -0.03936,9.37986 0,12.87945 -5.049924,0.46388 -7.309188,-0.33689 -10.85914,1.26269 -1.403378,3.17794 -1.569601,4.80531 -1.262691,11.93242 3.147964,-0.13336 8.201788,-0.1378 12.626907,0 -0.995158,6.00899 -0.948285,7.62376 -1.767767,13.06882 -3.676625,0.088 -5.605721,-0.1488 -11.111678,0 -0.148814,6.756 0.357147,33.0107 0,40.1536 -6.428576,0.1786 -8.174438,-0.03 -14.394674,0 z m 10.44335,90 c 11.073313,0.3952 19.483106,-1.8358 23.901837,-7.1603 -7.9736,-1.4292 -11.832311,-4.1933 -15.078321,-11.0837 3.459698,0.8219 5.795894,0.6358 7.606781,-0.607 -7.19593,-1.719 -12.734543,-6.7971 -13.741664,-15.836 2.766355,1.55307 5.466848,2.66623 7.828682,2.0203 -4.336544,-2.92911 -9.838998,-10.47636 -5.555839,-22.47589 8.400675,11.87052 23.824269,17.67568 33.840111,17.67767 -0.936406,-9.74688 5.88057,-19.46521 15.302849,-19.97853 8.13118,-0.50719 10.57457,4.01944 12.476346,4.82624 3.644547,0.13419 7.393301,-1.74401 10.354063,-3.53553 -1.380842,4.47157 -5.06769,5.62903 -6.313453,8.58629 5.42317,0.41513 5.891376,-1.53111 8.333758,-2.0203 -2.071414,3.75017 -5.393863,5.00034 -7.323606,8.08122 -1.633654,16.12573 -5.16049,27.57123 -14.647212,36.36553 -13.825764,11.3764 -34.755458,17.369 -56.984332,5.14 z M68.191078 915.462005l161.384597 0L229.575676 431.30719 68.191078 431.30719 68.191078 915.462005zM955.808922 471.653083c0-44.582381-36.109406-80.69281-80.69281-80.69281L620.329241 390.960273 658.859789 206.578915c0.807389-4.034896 1.412163-8.271384 1.412163-12.709463 0-16.743336-6.859221-31.873941-17.752316-42.767036l-42.968627-42.565445L333.871043 374.216937c-14.524808 14.7264-23.602557 34.899858-23.602557 57.090253l0 403.462005c0 44.582381 36.109406 80.69281 80.69281 80.69281l363.116111 0c33.487695 0 62.133106-20.37505 74.236771-49.222051l121.643478-284.441261c3.63069-9.279341 5.850242-19.164478 5.850242-29.452799L955.807898 475.083206l-0.403183-0.403183L955.808922 471.653083z diff --git a/src/Shared/HandyControlDemo_Shared/Service/Data/DataService.cs b/src/Shared/HandyControlDemo_Shared/Service/Data/DataService.cs index c317945b..c4389402 100644 --- a/src/Shared/HandyControlDemo_Shared/Service/Data/DataService.cs +++ b/src/Shared/HandyControlDemo_Shared/Service/Data/DataService.cs @@ -185,6 +185,19 @@ namespace HandyControlDemo.Service }; } + internal List GetWebsiteDataList() + { + return new List + { + new AvatarModel + { + DisplayName = "Dotnet9", + AvatarUri = "https://pic.cnblogs.com/avatar/1663243/20191124121029.png", + Link = "https://dotnet9.com/" + } + }; + } + internal ObservableCollection GetCardDataList() { return new ObservableCollection diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml b/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml index 3857a4e2..d4034aef 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml @@ -67,6 +67,11 @@ + + + + + diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/WebsitesView.xaml b/src/Shared/HandyControlDemo_Shared/UserControl/Main/WebsitesView.xaml new file mode 100644 index 00000000..74852972 --- /dev/null +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/WebsitesView.xaml @@ -0,0 +1,14 @@ + + + + + + + + + diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/WebsitesView.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Main/WebsitesView.xaml.cs new file mode 100644 index 00000000..e4bba9d3 --- /dev/null +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/WebsitesView.xaml.cs @@ -0,0 +1,10 @@ +namespace HandyControlDemo.UserControl +{ + public partial class WebsitesView + { + public WebsitesView() + { + InitializeComponent(); + } + } +} diff --git a/src/Shared/HandyControlDemo_Shared/ViewModel/ViewModelLocator.cs b/src/Shared/HandyControlDemo_Shared/ViewModel/ViewModelLocator.cs index 9a65e1ea..af874736 100644 --- a/src/Shared/HandyControlDemo_Shared/ViewModel/ViewModelLocator.cs +++ b/src/Shared/HandyControlDemo_Shared/ViewModel/ViewModelLocator.cs @@ -25,6 +25,7 @@ namespace HandyControlDemo.ViewModel SimpleIoc.Default.Register(() => new ItemsDisplayViewModel(dataService.GetContributorDataList), "Contributors"); SimpleIoc.Default.Register(() => new ItemsDisplayViewModel(dataService.GetBlogDataList), "Blogs"); SimpleIoc.Default.Register(() => new ItemsDisplayViewModel(dataService.GetProjectDataList), "Projects"); + SimpleIoc.Default.Register(() => new ItemsDisplayViewModel(dataService.GetWebsiteDataList), "Websites"); SimpleIoc.Default.Register(); SimpleIoc.Default.Register(); SimpleIoc.Default.Register(); @@ -66,6 +67,8 @@ namespace HandyControlDemo.ViewModel public ItemsDisplayViewModel ProjectsView => ServiceLocator.Current.GetInstance("Projects"); + public ItemsDisplayViewModel WebsitesView => ServiceLocator.Current.GetInstance("Websites"); + public StepBarDemoViewModel StepBarDemo => ServiceLocator.Current.GetInstance(); public PaginationDemoViewModel PaginationDemo => ServiceLocator.Current.GetInstance(); From 1af24e75147983f68982139f416997eaf40a96a8 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Mon, 16 Dec 2019 22:46:20 +0800 Subject: [PATCH 14/17] add more menu items --- .../Properties/Langs/Lang.Designer.cs | 442 ++++++++++-------- .../Properties/Langs/Lang.en.resx | 12 + .../Properties/Langs/Lang.fa.resx | 12 + .../Properties/Langs/Lang.fr.resx | 12 + .../Properties/Langs/Lang.resx | 12 + .../Resources/Themes/Basic/Geometries.xaml | 3 + .../UserControl/Main/NoUserContent.xaml | 49 +- 7 files changed, 320 insertions(+), 222 deletions(-) diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs index 39446815..14c08812 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ @@ -13,12 +13,12 @@ namespace HandyControlDemo.Properties.Langs { /// - /// A strongly-typed resource class, for looking up localized strings, etc. + /// 一个强类型的资源类,用于查找本地化的字符串等。 /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] @@ -33,7 +33,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Returns the cached ResourceManager instance used by this class. + /// 返回此类使用的缓存的 ResourceManager 实例。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] public static global::System.Resources.ResourceManager ResourceManager { @@ -47,8 +47,8 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. + /// 重写当前线程的 CurrentUICulture 属性 + /// 重写当前线程的 CurrentUICulture 属性。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] public static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 关于. + /// 查找类似 关于 的本地化字符串。 /// public static string About { get { @@ -70,7 +70,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 添加项. + /// 查找类似 添加项 的本地化字符串。 /// public static string AddItem { get { @@ -79,7 +79,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 动画路径. + /// 查找类似 动画路径 的本地化字符串。 /// public static string AnimationPath { get { @@ -88,7 +88,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 托盘图标已打开,将隐藏窗口而不是关闭程序. + /// 查找类似 托盘图标已打开,将隐藏窗口而不是关闭程序 的本地化字符串。 /// public static string AppClosingTip { get { @@ -97,7 +97,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 询问. + /// 查找类似 询问 的本地化字符串。 /// public static string Ask { get { @@ -106,7 +106,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 标记. + /// 查找类似 标记 的本地化字符串。 /// public static string Badge { get { @@ -115,7 +115,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 填写基本信息. + /// 查找类似 填写基本信息 的本地化字符串。 /// public static string BasicInfo { get { @@ -124,7 +124,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 基础布局. + /// 查找类似 基础布局 的本地化字符串。 /// public static string BasicLayout { get { @@ -133,7 +133,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 闪烁. + /// 查找类似 闪烁 的本地化字符串。 /// public static string Blink { get { @@ -142,7 +142,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 博客. + /// 查找类似 博客 的本地化字符串。 /// public static string Blog { get { @@ -151,7 +151,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 边框. + /// 查找类似 边框 的本地化字符串。 /// public static string Border { get { @@ -160,7 +160,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 画刷. + /// 查找类似 画刷 的本地化字符串。 /// public static string Brush { get { @@ -169,7 +169,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 按钮. + /// 查找类似 按钮 的本地化字符串。 /// public static string Button { get { @@ -178,7 +178,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 自定义按钮. + /// 查找类似 自定义按钮 的本地化字符串。 /// public static string ButtonCustom { get { @@ -187,7 +187,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 按钮组. + /// 查找类似 按钮组 的本地化字符串。 /// public static string ButtonGroup { get { @@ -196,7 +196,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 日历. + /// 查找类似 日历 的本地化字符串。 /// public static string Calendar { get { @@ -205,7 +205,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 带时钟的日历. + /// 查找类似 带时钟的日历 的本地化字符串。 /// public static string CalendarWithClock { get { @@ -214,7 +214,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 卡片. + /// 查找类似 卡片 的本地化字符串。 /// public static string Card { get { @@ -223,7 +223,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 轮播. + /// 查找类似 轮播 的本地化字符串。 /// public static string Carousel { get { @@ -232,7 +232,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 是否重启以更改语言?. + /// 查找类似 是否重启以更改语言? 的本地化字符串。 /// public static string ChangeLangAsk { get { @@ -241,7 +241,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 对话气泡. + /// 查找类似 对话气泡 的本地化字符串。 /// public static string ChatBubble { get { @@ -250,7 +250,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 讨论室. + /// 查找类似 讨论室 的本地化字符串。 /// public static string Chatroom { get { @@ -259,7 +259,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 复选框. + /// 查找类似 复选框 的本地化字符串。 /// public static string CheckBox { get { @@ -268,7 +268,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 圆形布局. + /// 查找类似 圆形布局 的本地化字符串。 /// public static string CirclePanel { get { @@ -277,7 +277,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 清空. + /// 查找类似 清空 的本地化字符串。 /// public static string Clear { get { @@ -286,7 +286,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 点击计数. + /// 查找类似 点击计数 的本地化字符串。 /// public static string Click2Count { get { @@ -295,7 +295,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 时钟. + /// 查找类似 时钟 的本地化字符串。 /// public static string Clock { get { @@ -304,7 +304,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 颜色拾取器. + /// 查找类似 颜色拾取器 的本地化字符串。 /// public static string ColorPicker { get { @@ -313,7 +313,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 分栏偏移. + /// 查找类似 分栏偏移 的本地化字符串。 /// public static string ColumnOffset { get { @@ -322,7 +322,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 分栏间隔. + /// 查找类似 分栏间隔 的本地化字符串。 /// public static string ColumnSpacing { get { @@ -331,7 +331,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 组合框. + /// 查找类似 组合框 的本地化字符串。 /// public static string ComboBox { get { @@ -340,7 +340,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 敬请期待. + /// 查找类似 敬请期待 的本地化字符串。 /// public static string ComingSoon { get { @@ -349,7 +349,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 评论. + /// 查找类似 评论 的本地化字符串。 /// public static string Comment { get { @@ -358,7 +358,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 一般. + /// 查找类似 一般 的本地化字符串。 /// public static string Common { get { @@ -367,7 +367,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 对比滑块. + /// 查找类似 对比滑块 的本地化字符串。 /// public static string CompareSlider { get { @@ -376,7 +376,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 完成. + /// 查找类似 完成 的本地化字符串。 /// public static string Complete { get { @@ -385,7 +385,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 这是内容. + /// 查找类似 这是内容 的本地化字符串。 /// public static string ContentDemoStr { get { @@ -394,7 +394,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 贡献者. + /// 查找类似 贡献者 的本地化字符串。 /// public static string Contributors { get { @@ -403,7 +403,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 控件. + /// 查找类似 控件 的本地化字符串。 /// public static string Controls { get { @@ -412,7 +412,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 封面流. + /// 查找类似 封面流 的本地化字符串。 /// public static string CoverFlow { get { @@ -421,7 +421,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 封面视图. + /// 查找类似 封面视图 的本地化字符串。 /// public static string CoverView { get { @@ -430,7 +430,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 危险. + /// 查找类似 危险 的本地化字符串。 /// public static string Danger { get { @@ -439,7 +439,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 数据表格. + /// 查找类似 数据表格 的本地化字符串。 /// public static string DataGrid { get { @@ -448,7 +448,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 日期选择器. + /// 查找类似 日期选择器 的本地化字符串。 /// public static string DatePicker { get { @@ -457,7 +457,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 日期时间选择器. + /// 查找类似 日期时间选择器 的本地化字符串。 /// public static string DateTimePicker { get { @@ -466,7 +466,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 默认. + /// 查找类似 默认 的本地化字符串。 /// public static string Default { get { @@ -475,7 +475,16 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 对话框. + /// 查找类似 示例 的本地化字符串。 + /// + public static string Demo { + get { + return ResourceManager.GetString("Demo", resourceCulture); + } + } + + /// + /// 查找类似 对话框 的本地化字符串。 /// public static string Dialog { get { @@ -484,7 +493,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 对话框示例. + /// 查找类似 对话框示例 的本地化字符串。 /// public static string DialogDemo { get { @@ -493,7 +502,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 分割线. + /// 查找类似 分割线 的本地化字符串。 /// public static string Divider { get { @@ -502,7 +511,25 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 文献资料. + /// 查找类似 中文文档 的本地化字符串。 + /// + public static string Doc_cn { + get { + return ResourceManager.GetString("Doc_cn", resourceCulture); + } + } + + /// + /// 查找类似 英文文档 的本地化字符串。 + /// + public static string Doc_en { + get { + return ResourceManager.GetString("Doc_en", resourceCulture); + } + } + + /// + /// 查找类似 文献资料 的本地化字符串。 /// public static string Documentation { get { @@ -511,7 +538,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 在这里拖拽. + /// 查找类似 在这里拖拽 的本地化字符串。 /// public static string DragHere { get { @@ -520,7 +547,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 抽屉. + /// 查找类似 抽屉 的本地化字符串。 /// public static string Drawer { get { @@ -529,7 +556,6 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 邮箱. /// 查找类似 效果 的本地化字符串。 /// public static string Effects { @@ -548,7 +574,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 错误. + /// 查找类似 错误 的本地化字符串。 /// public static string Error { get { @@ -557,7 +583,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 退出. + /// 查找类似 退出 的本地化字符串。 /// public static string Exit { get { @@ -566,7 +592,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 展开框. + /// 查找类似 展开框 的本地化字符串。 /// public static string Expander { get { @@ -575,7 +601,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 严重. + /// 查找类似 严重 的本地化字符串。 /// public static string Fatal { get { @@ -584,7 +610,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 翻页时钟. + /// 查找类似 翻页时钟 的本地化字符串。 /// public static string FlipClock { get { @@ -593,7 +619,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 漂浮块. + /// 查找类似 漂浮块 的本地化字符串。 /// public static string FloatingBlock { get { @@ -602,7 +628,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to Gif图片. + /// 查找类似 Gif图片 的本地化字符串。 /// public static string GifImage { get { @@ -611,7 +637,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 回到顶部. + /// 查找类似 回到顶部 的本地化字符串。 /// public static string GotoTop { get { @@ -620,7 +646,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 头像. + /// 查找类似 头像 的本地化字符串。 /// public static string Gravatar { get { @@ -629,7 +655,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 栅格. + /// 查找类似 栅格 的本地化字符串。 /// public static string Grid { get { @@ -638,7 +664,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 分组框. + /// 查找类似 分组框 的本地化字符串。 /// public static string GroupBox { get { @@ -647,7 +673,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 组数. + /// 查找类似 组数 的本地化字符串。 /// public static string Groups { get { @@ -656,7 +682,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 信息通知. + /// 查找类似 信息通知 的本地化字符串。 /// public static string Growl { get { @@ -665,7 +691,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 检测到有新版本!是否更新?. + /// 查找类似 检测到有新版本!是否更新? 的本地化字符串。 /// public static string GrowlAsk { get { @@ -674,7 +700,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 消息通知示例. + /// 查找类似 消息通知示例 的本地化字符串。 /// public static string GrowlDemo { get { @@ -683,7 +709,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 连接失败,请检查网络!. + /// 查找类似 连接失败,请检查网络! 的本地化字符串。 /// public static string GrowlError { get { @@ -692,7 +718,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 程序已崩溃~~~. + /// 查找类似 程序已崩溃~~~ 的本地化字符串。 /// public static string GrowlFatal { get { @@ -701,7 +727,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 今天的天气不错~~~. + /// 查找类似 今天的天气不错~~~ 的本地化字符串。 /// public static string GrowlInfo { get { @@ -710,7 +736,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 文件保存成功!. + /// 查找类似 文件保存成功! 的本地化字符串。 /// public static string GrowlSuccess { get { @@ -719,7 +745,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 磁盘空间快要满了!. + /// 查找类似 磁盘空间快要满了! 的本地化字符串。 /// public static string GrowlWarning { get { @@ -728,7 +754,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 阴影画笔生成器. + /// 查找类似 阴影画笔生成器 的本地化字符串。 /// public static string HatchBrushGenerator { get { @@ -737,7 +763,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 蜂窝布局. + /// 查找类似 蜂窝布局 的本地化字符串。 /// public static string HoneycombPanel { get { @@ -746,7 +772,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 混合布局. + /// 查找类似 混合布局 的本地化字符串。 /// public static string HybridLayout { get { @@ -755,7 +781,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 忽略. + /// 查找类似 忽略 的本地化字符串。 /// public static string Ignore { get { @@ -764,7 +790,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 图片块. + /// 查找类似 图片块 的本地化字符串。 /// public static string ImageBlock { get { @@ -773,7 +799,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 图片浏览器. + /// 查找类似 图片浏览器 的本地化字符串。 /// public static string ImageBrowser { get { @@ -782,7 +808,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 索引. + /// 查找类似 索引 的本地化字符串。 /// public static string Index { get { @@ -791,7 +817,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 信息. + /// 查找类似 信息 的本地化字符串。 /// public static string Info { get { @@ -800,7 +826,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 可交互对话框. + /// 查找类似 可交互对话框 的本地化字符串。 /// public static string InteractiveDialog { get { @@ -809,7 +835,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 不是手机号码. + /// 查找类似 不是手机号码 的本地化字符串。 /// public static string IsNotPhone { get { @@ -818,7 +844,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 标签. + /// 查找类似 标签 的本地化字符串。 /// public static string Label { get { @@ -827,7 +853,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 列表框. + /// 查找类似 列表框 的本地化字符串。 /// public static string ListBox { get { @@ -836,7 +862,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 列表视图. + /// 查找类似 列表视图 的本地化字符串。 /// public static string ListView { get { @@ -845,7 +871,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 加载条. + /// 查找类似 加载条 的本地化字符串。 /// public static string Loading { get { @@ -854,7 +880,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 放大镜. + /// 查找类似 放大镜 的本地化字符串。 /// public static string Magnifier { get { @@ -863,7 +889,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 菜单. + /// 查找类似 菜单 的本地化字符串。 /// public static string Menu { get { @@ -872,7 +898,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 消息框. + /// 查找类似 消息框 的本地化字符串。 /// public static string MessageBox { get { @@ -881,7 +907,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 变形动画. + /// 查找类似 变形动画 的本地化字符串。 /// public static string Morphing_Animation { get { @@ -890,7 +916,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 名称. + /// 查找类似 名称 的本地化字符串。 /// public static string Name { get { @@ -899,7 +925,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 新建窗口. + /// 查找类似 新建窗口 的本地化字符串。 /// public static string NewWindow { get { @@ -908,7 +934,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 下一步. + /// 查找类似 下一步 的本地化字符串。 /// public static string Next { get { @@ -917,7 +943,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 桌面通知. + /// 查找类似 桌面通知 的本地化字符串。 /// public static string Notification { get { @@ -926,7 +952,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 托盘图标. + /// 查找类似 托盘图标 的本地化字符串。 /// public static string NotifyIcon { get { @@ -935,7 +961,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 数值选择控件. + /// 查找类似 数值选择控件 的本地化字符串。 /// public static string NumericUpDown { get { @@ -944,7 +970,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 关. + /// 查找类似 关 的本地化字符串。 /// public static string Off { get { @@ -953,7 +979,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 确定. + /// 查找类似 确定 的本地化字符串。 /// public static string Ok { get { @@ -962,7 +988,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 开. + /// 查找类似 开 的本地化字符串。 /// public static string On { get { @@ -971,7 +997,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 点击打开背景模糊窗口. + /// 查找类似 点击打开背景模糊窗口 的本地化字符串。 /// public static string OpenBlurWindow { get { @@ -980,7 +1006,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 点击打开常规窗口. + /// 查找类似 点击打开常规窗口 的本地化字符串。 /// public static string OpenCommonWindow { get { @@ -989,7 +1015,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 点击打开自定义内容窗口. + /// 查找类似 点击打开自定义内容窗口 的本地化字符串。 /// public static string OpenCustomContentWindow { get { @@ -998,7 +1024,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 点击打开自定义消息窗口. + /// 查找类似 点击打开自定义消息窗口 的本地化字符串。 /// public static string OpenCustomMessageWindow { get { @@ -1007,7 +1033,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 点击打开自定义非客户端区域窗口. + /// 查找类似 点击打开自定义非客户端区域窗口 的本地化字符串。 /// public static string OpenCustomNonClientAreaWindow { get { @@ -1016,7 +1042,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 点击打开图片浏览器. + /// 查找类似 点击打开图片浏览器 的本地化字符串。 /// public static string OpenImageBrowser { get { @@ -1025,7 +1051,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 点击打开消息窗口. + /// 查找类似 点击打开消息窗口 的本地化字符串。 /// public static string OpenMessageWindow { get { @@ -1034,7 +1060,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 点击打开鼠标跟随窗口. + /// 查找类似 点击打开鼠标跟随窗口 的本地化字符串。 /// public static string OpenMouseFollowWindow { get { @@ -1043,7 +1069,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 打开无非客户端区域可拖拽窗口. + /// 查找类似 打开无非客户端区域可拖拽窗口 的本地化字符串。 /// public static string OpenNoNonClientAreaDragableWindow { get { @@ -1052,7 +1078,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 打开面板. + /// 查找类似 打开面板 的本地化字符串。 /// public static string OpenPanel { get { @@ -1061,7 +1087,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 打开精灵. + /// 查找类似 打开精灵 的本地化字符串。 /// public static string OpenSprite { get { @@ -1070,7 +1096,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 轮廓文本. + /// 查找类似 轮廓文本 的本地化字符串。 /// public static string OutlineText { get { @@ -1079,7 +1105,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 概览. + /// 查找类似 概览 的本地化字符串。 /// public static string Overview { get { @@ -1088,7 +1114,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 页码条. + /// 查找类似 页码条 的本地化字符串。 /// public static string Pagination { get { @@ -1097,7 +1123,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 密码框. + /// 查找类似 密码框 的本地化字符串。 /// public static string PasswordBox { get { @@ -1106,7 +1132,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 请输入.... + /// 查找类似 请输入... 的本地化字符串。 /// public static string PleaseInput { get { @@ -1115,7 +1141,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 请稍后.... + /// 查找类似 请稍后... 的本地化字符串。 /// public static string PleaseWait { get { @@ -1124,7 +1150,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 请输入内容. + /// 查找类似 请输入内容 的本地化字符串。 /// public static string PlsEnterContent { get { @@ -1133,7 +1159,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 请输入邮箱. + /// 查找类似 请输入邮箱 的本地化字符串。 /// public static string PlsEnterEmail { get { @@ -1142,7 +1168,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 请输入关键字. + /// 查找类似 请输入关键字 的本地化字符串。 /// public static string PlsEnterKey { get { @@ -1151,7 +1177,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 气泡提示. + /// 查找类似 气泡提示 的本地化字符串。 /// public static string Poptip { get { @@ -1160,7 +1186,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 上左;上边;上右;右上;右边;右下;下右;下边;下左;左下;左边;左上. + /// 查找类似 上左;上边;上右;右上;右边;右下;下右;下边;下左;左下;左边;左上 的本地化字符串。 /// public static string PoptipPositionStr { get { @@ -1169,7 +1195,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 上一步. + /// 查找类似 上一步 的本地化字符串。 /// public static string Prev { get { @@ -1178,7 +1204,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 预览滑块. + /// 查找类似 预览滑块 的本地化字符串。 /// public static string PreviewSlider { get { @@ -1187,7 +1213,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 主要. + /// 查找类似 主要 的本地化字符串。 /// public static string Primary { get { @@ -1196,7 +1222,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 进度条. + /// 查找类似 进度条 的本地化字符串。 /// public static string ProgressBar { get { @@ -1205,7 +1231,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 进度按钮. + /// 查找类似 进度按钮 的本地化字符串。 /// public static string ProgressButton { get { @@ -1214,7 +1240,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 项目. + /// 查找类似 项目 的本地化字符串。 /// public static string Project { get { @@ -1223,7 +1249,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 按住说话. + /// 查找类似 按住说话 的本地化字符串。 /// public static string PushToTalk { get { @@ -1232,7 +1258,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to QQ群. + /// 查找类似 QQ群 的本地化字符串。 /// public static string QQGroup { get { @@ -1241,7 +1267,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 单选按钮. + /// 查找类似 单选按钮 的本地化字符串。 /// public static string RadioButton { get { @@ -1250,7 +1276,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 范围滑块. + /// 查找类似 范围滑块 的本地化字符串。 /// public static string RangeSlider { get { @@ -1259,7 +1285,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 评分. + /// 查找类似 评分 的本地化字符串。 /// public static string Rate { get { @@ -1268,7 +1294,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 群友推荐. + /// 查找类似 群友推荐 的本地化字符串。 /// public static string Recommendation { get { @@ -1277,7 +1303,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 注册. + /// 查找类似 注册 的本地化字符串。 /// public static string Register { get { @@ -1286,7 +1312,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 相对布局. + /// 查找类似 相对布局 的本地化字符串。 /// public static string RelativePanel { get { @@ -1295,7 +1321,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 备注. + /// 查找类似 备注 的本地化字符串。 /// public static string Remark { get { @@ -1304,7 +1330,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 删除项. + /// 查找类似 删除项 的本地化字符串。 /// public static string RemoveItem { get { @@ -1313,7 +1339,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 重复按钮. + /// 查找类似 重复按钮 的本地化字符串。 /// public static string RepeatButton { get { @@ -1322,7 +1348,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 回复. + /// 查找类似 回复 的本地化字符串。 /// public static string Reply { get { @@ -1331,7 +1357,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 代码仓库. + /// 查找类似 代码仓库 的本地化字符串。 /// public static string Repository { get { @@ -1340,7 +1366,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 响应式布局. + /// 查找类似 响应式布局 的本地化字符串。 /// public static string ResponsiveLayout { get { @@ -1349,7 +1375,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 富文本框. + /// 查找类似 富文本框 的本地化字符串。 /// public static string RichTextBox { get { @@ -1358,7 +1384,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 在这里右击. + /// 查找类似 在这里右击 的本地化字符串。 /// public static string RightClickHere { get { @@ -1367,7 +1393,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 滚动块. + /// 查找类似 滚动块 的本地化字符串。 /// public static string RunningBlock { get { @@ -1376,7 +1402,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 滚动视图. + /// 查找类似 滚动视图 的本地化字符串。 /// public static string ScrollViewer { get { @@ -1385,7 +1411,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 搜索栏. + /// 查找类似 搜索栏 的本地化字符串。 /// public static string SearchBar { get { @@ -1394,7 +1420,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 秒. + /// 查找类似 秒 的本地化字符串。 /// public static string Second { get { @@ -1403,7 +1429,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 选中. + /// 查找类似 选中 的本地化字符串。 /// public static string Selected { get { @@ -1412,7 +1438,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 发送通知. + /// 查找类似 发送通知 的本地化字符串。 /// public static string SendNotification { get { @@ -1421,7 +1447,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 徽章. + /// 查找类似 徽章 的本地化字符串。 /// public static string Shield { get { @@ -1430,7 +1456,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 在当前窗口显示. + /// 查找类似 在当前窗口显示 的本地化字符串。 /// public static string ShowInCurrentWindow { get { @@ -1439,7 +1465,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 在主窗口显示. + /// 查找类似 在主窗口显示 的本地化字符串。 /// public static string ShowInMainWindow { get { @@ -1448,7 +1474,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 显示行号. + /// 查找类似 显示行号 的本地化字符串。 /// public static string ShowRowNumber { get { @@ -1457,7 +1483,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 侧边菜单. + /// 查找类似 侧边菜单 的本地化字符串。 /// public static string SideMenu { get { @@ -1466,7 +1492,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 滑块. + /// 查找类似 滑块 的本地化字符串。 /// public static string Slider { get { @@ -1475,7 +1501,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 分割按钮. + /// 查找类似 分割按钮 的本地化字符串。 /// public static string SplitButton { get { @@ -1484,7 +1510,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 精灵. + /// 查找类似 精灵 的本地化字符串。 /// public static string Sprite { get { @@ -1493,7 +1519,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 保持打开. + /// 查找类似 保持打开 的本地化字符串。 /// public static string StaysOpen { get { @@ -1502,7 +1528,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 步骤. + /// 查找类似 步骤 的本地化字符串。 /// public static string Step { get { @@ -1511,7 +1537,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 步骤条. + /// 查找类似 步骤条 的本地化字符串。 /// public static string StepBar { get { @@ -1520,7 +1546,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 样式模板. + /// 查找类似 样式模板 的本地化字符串。 /// public static string Styles { get { @@ -1529,7 +1555,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 子标题. + /// 查找类似 子标题 的本地化字符串。 /// public static string SubTitle { get { @@ -1538,7 +1564,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 成功. + /// 查找类似 成功 的本地化字符串。 /// public static string Success { get { @@ -1547,7 +1573,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 选项卡控件. + /// 查找类似 选项卡控件 的本地化字符串。 /// public static string TabControl { get { @@ -1556,7 +1582,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 标签. + /// 查找类似 标签 的本地化字符串。 /// public static string Tag { get { @@ -1565,7 +1591,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 正文. + /// 查找类似 正文 的本地化字符串。 /// public static string Text { get { @@ -1574,7 +1600,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 文本块. + /// 查找类似 文本块 的本地化字符串。 /// public static string TextBlock { get { @@ -1583,7 +1609,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 文本框. + /// 查找类似 文本框 的本地化字符串。 /// public static string TextBox { get { @@ -1592,7 +1618,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 文本对话框. + /// 查找类似 文本对话框 的本地化字符串。 /// public static string TextDialog { get { @@ -1601,7 +1627,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 文本对话框,带计时器. + /// 查找类似 文本对话框,带计时器 的本地化字符串。 /// public static string TextDialogWithTimer { get { @@ -1610,7 +1636,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 时间条. + /// 查找类似 时间条 的本地化字符串。 /// public static string TimeBar { get { @@ -1619,7 +1645,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 时间选择器. + /// 查找类似 时间选择器 的本地化字符串。 /// public static string TimePicker { get { @@ -1628,7 +1654,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 提示. + /// 查找类似 提示 的本地化字符串。 /// public static string Tip { get { @@ -1637,7 +1663,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 标题. + /// 查找类似 标题 的本地化字符串。 /// public static string Title { get { @@ -1646,7 +1672,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 这是标题. + /// 查找类似 这是标题 的本地化字符串。 /// public static string TitleDemoStr1 { get { @@ -1655,7 +1681,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 此项必填. + /// 查找类似 此项必填 的本地化字符串。 /// public static string TitleDemoStr2 { get { @@ -1664,7 +1690,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 标题在左侧. + /// 查找类似 标题在左侧 的本地化字符串。 /// public static string TitleDemoStr3 { get { @@ -1673,7 +1699,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 切换按钮. + /// 查找类似 切换按钮 的本地化字符串。 /// public static string ToggleButton { get { @@ -1682,7 +1708,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 工具条. + /// 查找类似 工具条 的本地化字符串。 /// public static string ToolBar { get { @@ -1691,7 +1717,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 工具. + /// 查找类似 工具 的本地化字符串。 /// public static string Tools { get { @@ -1700,7 +1726,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 穿梭框. + /// 查找类似 穿梭框 的本地化字符串。 /// public static string Transfer { get { @@ -1709,7 +1735,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 内容过渡控件. + /// 查找类似 内容过渡控件 的本地化字符串。 /// public static string TransitioningContentControl { get { @@ -1718,7 +1744,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 树视图. + /// 查找类似 树视图 的本地化字符串。 /// public static string TreeView { get { @@ -1727,7 +1753,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 试试关闭程序吧?. + /// 查找类似 试试关闭程序吧? 的本地化字符串。 /// public static string Try2CloseApp { get { @@ -1736,7 +1762,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 类型. + /// 查找类似 类型 的本地化字符串。 /// public static string Type { get { @@ -1745,7 +1771,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 上传文件. + /// 查找类似 上传文件 的本地化字符串。 /// public static string UploadFile { get { @@ -1754,7 +1780,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 上传;上传中. + /// 查找类似 上传;上传中 的本地化字符串。 /// public static string UploadStr { get { @@ -1763,7 +1789,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 可见性. + /// 查找类似 可见性 的本地化字符串。 /// public static string Visibility { get { @@ -1772,7 +1798,16 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 警告. + /// 查找类似 VS 插件 的本地化字符串。 + /// + public static string Vsix { + get { + return ResourceManager.GetString("Vsix", resourceCulture); + } + } + + /// + /// 查找类似 警告 的本地化字符串。 /// public static string Warning { get { @@ -1781,7 +1816,7 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 瀑布流. + /// 查找类似 瀑布流 的本地化字符串。 /// public static string WaterfallPanel { get { @@ -1790,7 +1825,6 @@ namespace HandyControlDemo.Properties.Langs { } /// - /// Looks up a localized string similar to 窗口. /// 查找类似 网站 的本地化字符串。 /// public static string Website { diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx index 2d24e6aa..c0ee1efa 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx @@ -699,4 +699,16 @@ Website + + Vsix + + + English document + + + Chinese document + + + Demo + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx index 578c3da2..4ea3c493 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fa.resx @@ -699,4 +699,16 @@ Website + + Vsix + + + English document + + + Chinese document + + + Demo + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx index 754fd565..dcc76a17 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.fr.resx @@ -699,4 +699,16 @@ Website + + Vsix + + + English document + + + Chinese document + + + Demo + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx index a8d567bb..5f43be5f 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx @@ -699,4 +699,16 @@ 网站 + + VS 插件 + + + 英文文档 + + + 中文文档 + + + 示例 + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Geometries.xaml b/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Geometries.xaml index a85f0de6..a894a9c6 100644 --- a/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Geometries.xaml +++ b/src/Shared/HandyControlDemo_Shared/Resources/Themes/Basic/Geometries.xaml @@ -24,5 +24,8 @@ M838.4 325.12 554.24 479.36C528 493.44 512 521.6 512 552.96l0 298.24c0 32 31.36 53.12 57.6 38.4l284.16-154.24c25.6-14.08 42.24-42.24 42.24-73.6L896 364.16C896 331.52 864.64 311.04 838.4 325.12zM405.76 478.72 121.6 325.12C95.36 311.04 64 331.52 64 363.52l0 299.52c0 31.36 16 59.52 42.24 73.6l284.16 153.6C416.64 904.32 448 883.2 448 851.2L448 552.32C448 520.96 432 492.8 405.76 478.72zM812.16 255.36c13.44-7.04 19.84-19.2 18.56-30.72 1.28-12.16-5.12-23.68-18.56-30.72L522.88 42.88c-12.8-7.04-28.16-10.24-43.52-10.24-15.36 0-30.72 3.2-43.52 10.24L146.56 193.28C133.12 200.32 127.36 212.48 128 224 127.36 236.16 133.12 248.32 146.56 255.36l289.28 150.4c12.8 7.04 28.16 10.24 43.52 10.24 15.36 0 30.72-3.2 43.52-10.24L812.16 255.36z M1137.575865 0l0 795.939663-267.130435 228.060337-870.44543 0 0-1024 1137.575865 0zM795.939663 682.363798l-626.030169 0 0 113.575865 626.030169 0 0-113.575865zM966.757764 455.212067l-796.84827 0 0 113.575865 796.84827 0 0-113.575865zM966.757764 227.15173l-796.84827 0 0 114.484472 796.84827 0 0-114.484472z M23.063,0L11,12L3,6L0,7v15l3,2l8-6l11.875,12L30,27V2.938L23.063,0z M3,19v-8l5,4L3,19z M23,21l-8-6l8-6V21z + M288.752 319.495c-12.497-12.497-32.758-12.497-45.255 0L73.619 489.372a32 32 0 0 0 0 45.254l169.878 169.879c6.249 6.248 14.438 9.372 22.627 9.372s16.379-3.124 22.627-9.372c12.497-12.497 12.497-32.759 0-45.255L141.502 512l147.25-147.25c12.497-12.497 12.497-32.758 0-45.255zM950.38 489.372L780.504 319.495c-12.498-12.497-32.759-12.497-45.255 0-12.497 12.497-12.497 32.758 0 45.255L882.499 512l-147.25 147.251c-12.496 12.496-12.496 32.758 0.001 45.255 6.248 6.248 14.438 9.372 22.627 9.372s16.379-3.124 22.628-9.373l169.877-169.878c12.496-12.497 12.496-32.758-0.002-45.255zM600.417 312.63c-16.289-6.858-35.052 0.785-41.91 17.074L415.451 669.46c-6.858 16.288 0.786 35.052 17.074 41.91a31.892 31.892 0 0 0 12.404 2.517c12.488 0 24.355-7.359 29.506-19.591L617.491 354.54c6.858-16.288-0.786-35.052-17.074-41.91z + M638.72 808.533333 529.493333 551.253333C485.973333 636.16 438.186667 725.333333 397.226667 808.533333 396.8 808.96 377.173333 808.533333 377.173333 808.533333 314.453333 661.333333 249.6 516.266667 186.453333 370.346667 171.946667 334.506667 120.746667 277.333333 85.333333 277.333333 85.333333 273.066667 85.333333 263.68 85.333333 258.133333L301.226667 258.133333 301.226667 277.333333C275.626667 277.333333 232.106667 294.4 243.2 322.133333 273.92 387.84 381.44 642.56 410.88 707.413333 430.933333 667.306667 487.68 561.493333 512 516.693333 492.8 479.146667 432.213333 338.346667 414.293333 303.36 400.64 280.32 366.08 277.333333 339.626667 277.333333 339.626667 270.933333 340.053333 266.666667 339.626667 258.56L529.92 258.986667 529.92 276.053333C503.893333 277.333333 479.573333 286.293333 490.666667 311.04 516.266667 363.946667 531.2 401.92 554.666667 450.986667 561.92 436.48 600.32 357.546667 618.666667 316.16 629.76 288.426667 613.12 277.333333 567.04 277.333333 567.466667 272.213333 567.466667 263.253333 567.466667 258.986667 626.773333 258.56 715.946667 258.56 731.733333 258.133333L731.733333 276.053333C701.44 277.333333 670.293333 293.546667 654.08 318.293333L576 482.133333C583.68 503.893333 659.626667 672.426667 667.733333 691.2L832 314.453333C819.2 283.733333 782.506667 277.333333 768 277.333333 768 271.786667 768 264.533333 768 258.133333L938.666667 259.413333 938.666667 260.266667 938.666667 277.333333C901.12 277.333333 877.653333 298.666667 864 330.666667 829.866667 407.04 725.333333 650.24 657.066667 808.533333 657.066667 808.533333 638.72 808.533333 638.72 808.533333Z + M173.826977 510.432295c0-122.019031-0.050142-244.038062 0.022513-366.057093 0.032746-54.232159 27.618011-81.962733 81.740676-82.012875 117.26475-0.10847 234.532571-0.400113 351.790158 0.567935 10.968819 0.090051 24.65554 5.861498 32.362059 13.658068 66.276473 67.050092 131.747603 134.908596 196.58633 203.352431 7.161097 7.559163 12.495592 20.287045 12.535501 30.641881 0.738827 189.363835 0.623193 378.731764 0.480954 568.098669-0.036839 49.259914-28.894074 77.959559-78.538751 78.007655-172.727946 0.166799-345.455893 0.165776-518.183839 0.002047-50.561559-0.048095-78.714759-28.893051-78.760808-80.201623C173.752276 754.470357 173.826977 632.451326 173.826977 510.432295zM425.726078 715.13242c-0.409322 52.42193 32.43983 88.344071 81.254605 88.856747 48.829102 0.512676 83.016739-35.294854 83.205027-87.148849 0.190335-52.300156-32.965809-88.35942-81.524758-88.665389C459.317127 627.863844 426.136424 662.654208 425.726078 715.13242zM265.914302 633.581056c0 56.69935 0 110.830201 0 166.16446 23.783683 0 45.88505 0.218988 67.980277-0.049119 36.362162-0.441045 61.114916-17.009396 71.76958-47.599088 13.557784-38.924521 4.252861-85.525885-22.836101-104.649432-9.880021-6.974855-22.768563-12.386098-34.668591-13.255908C321.448106 632.240525 294.495244 633.581056 265.914302 633.581056zM758.306732 689.51088c-9.967002-45.812395-41.170678-66.920132-86.082564-60.683081-42.587957 5.913687-71.66418 46.171576-67.992557 94.137007 3.773953 49.296753 35.82902 80.999802 81.923848 81.025385 42.137703 0.023536 68.915579-25.63382 71.465658-69.621661-10.092869 0-20.128433 0-30.109762 0-16.044418 36.365232-36.768415 47.330982-62.482053 33.178657-19.942191-10.975982-28.691459-39.623439-21.979594-69.791529 4.77884-21.481244 16.022928-36.523845 39.027875-38.340213 21.590737-1.704828 35.721573 9.087982 40.968064 30.095435C735.017306 689.51088 745.964636 689.51088 758.306732 689.51088zM635.406634 159.644977c0 32.664957-0.671289 69.714781 0.62524 106.695021 0.230244 6.566556 8.422833 18.209734 13.30912 18.408255 37.929868 1.542122 75.950809 0.851391 113.944122 0.851391 1.113357-2.461051 2.226714-4.92108 3.340071-7.382131C722.585159 238.422158 678.54513 198.626803 635.406634 159.644977zM553.603537 717.1381c-0.353041 34.149774-17.751293 55.144948-45.725414 55.175647-29.049616 0.031722-45.502333-21.023826-44.98454-57.571207 0.49528-34.968419 17.328667-55.873542 44.977377-55.858192C535.765263 658.899698 553.965787 682.0827 553.603537 717.1381zM298.449299 770.413468c0-37.08564 0-71.501474 0-107.650789 25.056676-1.242294 50.77236-6.163373 66.627467 18.401092 13.642718 21.135366 14.034645 45.815465 2.095731 67.677379C352.412328 775.868713 325.439 771.676228 298.449299 770.413468z \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml b/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml index b3f3410e..df39bc42 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/NoUserContent.xaml @@ -23,29 +23,12 @@ - + - - - - - - - - - - - - - - - - - @@ -72,6 +55,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From ff603547b36518f383997ebe58fcb15966e0fcbf Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Wed, 18 Dec 2019 23:23:34 +0800 Subject: [PATCH 15/17] close #256 --- .../HandyControl_Shared/Controls/Input/DateTimePicker.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Shared/HandyControl_Shared/Controls/Input/DateTimePicker.cs b/src/Shared/HandyControl_Shared/Controls/Input/DateTimePicker.cs index 17daef50..06bb6454 100644 --- a/src/Shared/HandyControl_Shared/Controls/Input/DateTimePicker.cs +++ b/src/Shared/HandyControl_Shared/Controls/Input/DateTimePicker.cs @@ -622,6 +622,11 @@ namespace HandyControl.Controls if (SelectedDateTime != null) { + if (SelectedDateTime != DisplayDateTime) + { + SetCurrentValue(DisplayDateTimeProperty, SelectedDateTime); + } + var selectedTime = DateTimeToString(SelectedDateTime.Value); if (string.Compare(selectedTime, s, StringComparison.Ordinal) == 0) From 191cf79abe06aa5bb9c1a8a76e61e4723b464707 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Wed, 18 Dec 2019 23:43:02 +0800 Subject: [PATCH 16/17] format codes --- .../Tools/Converter/HatchBrushConverter.cs | 2 +- .../Controls/TabControl/TabItem.cs | 2 +- .../HandyControl_Shared/Data/ResourceToken.cs | 148 +++++++++++++++++- 3 files changed, 147 insertions(+), 5 deletions(-) diff --git a/src/Shared/HandyControlDemo_Shared/Tools/Converter/HatchBrushConverter.cs b/src/Shared/HandyControlDemo_Shared/Tools/Converter/HatchBrushConverter.cs index 878605f7..6581b245 100644 --- a/src/Shared/HandyControlDemo_Shared/Tools/Converter/HatchBrushConverter.cs +++ b/src/Shared/HandyControlDemo_Shared/Tools/Converter/HatchBrushConverter.cs @@ -20,7 +20,7 @@ namespace HandyControlDemo.Tools.Converter { if (value is HatchStyle style) { - return _brushGenerator.GetHatchBrush(style, ResourceHelper.GetResource("DarkPrimaryColor"), ResourceHelper.GetResource("BackgroundColor")); + return _brushGenerator.GetHatchBrush(style, ResourceHelper.GetResource(ResourceToken.DarkPrimaryColor), ResourceHelper.GetResource(ResourceToken.BackgroundColor)); } return Brushes.Transparent; } diff --git a/src/Shared/HandyControl_Shared/Controls/TabControl/TabItem.cs b/src/Shared/HandyControl_Shared/Controls/TabControl/TabItem.cs index becf01e0..2df33a1b 100644 --- a/src/Shared/HandyControl_Shared/Controls/TabControl/TabItem.cs +++ b/src/Shared/HandyControl_Shared/Controls/TabControl/TabItem.cs @@ -208,7 +208,7 @@ namespace HandyControl.Controls menu.SetBinding(VisibilityProperty, new Binding(ShowContextMenuProperty.Name) { Source = this, - Converter = ResourceHelper.GetResource("Boolean2VisibilityConverter") + Converter = ResourceHelper.GetResource(ResourceToken.Boolean2VisibilityConverter) }); } } diff --git a/src/Shared/HandyControl_Shared/Data/ResourceToken.cs b/src/Shared/HandyControl_Shared/Data/ResourceToken.cs index 32c3b01a..7fdbef09 100644 --- a/src/Shared/HandyControl_Shared/Data/ResourceToken.cs +++ b/src/Shared/HandyControl_Shared/Data/ResourceToken.cs @@ -2,153 +2,296 @@ { public class ResourceToken { + #region Basic + #region Geometry + public const string CalendarGeometry = nameof(CalendarGeometry); + public const string DeleteGeometry = nameof(DeleteGeometry); + public const string DeleteFillCircleGeometry = nameof(DeleteFillCircleGeometry); + public const string CloseGeometry = nameof(CloseGeometry); + public const string UpGeometry = nameof(UpGeometry); + public const string DownGeometry = nameof(DownGeometry); + public const string ClockGeometry = nameof(ClockGeometry); + public const string LeftGeometry = nameof(LeftGeometry); + public const string RightGeometry = nameof(RightGeometry); + public const string RotateLeftGeometry = nameof(RotateLeftGeometry); + public const string EnlargeGeometry = nameof(EnlargeGeometry); + public const string ReduceGeometry = nameof(ReduceGeometry); + public const string DownloadGeometry = nameof(DownloadGeometry); + public const string SaveGeometry = nameof(SaveGeometry); + public const string WindowsGeometry = nameof(WindowsGeometry); + public const string FullScreenGeometry = nameof(FullScreenGeometry); + public const string FullScreenReturnGeometry = nameof(FullScreenReturnGeometry); + public const string SearchGeometry = nameof(SearchGeometry); + public const string UpDownGeometry = nameof(UpDownGeometry); + public const string WindowMinGeometry = nameof(WindowMinGeometry); + public const string CheckedGeometry = nameof(CheckedGeometry); + public const string EyeOpenGeometry = nameof(EyeOpenGeometry); + public const string EyeCloseGeometry = nameof(EyeCloseGeometry); + public const string WindowRestoreGeometry = nameof(WindowRestoreGeometry); + public const string WindowMaxGeometry = nameof(WindowMaxGeometry); + public const string AudioGeometry = nameof(AudioGeometry); + public const string BubbleTailGeometry = nameof(BubbleTailGeometry); + public const string StarGeometry = nameof(StarGeometry); + public const string AddGeometry = nameof(AddGeometry); + public const string SubGeometry = nameof(SubGeometry); + public const string AllGeometry = nameof(AllGeometry); + public const string DragGeometry = nameof(DragGeometry); + public const string DropperGeometry = nameof(DropperGeometry); + public const string SuccessGeometry = nameof(SuccessGeometry); + public const string InfoGeometry = nameof(InfoGeometry); + public const string ErrorGeometry = nameof(ErrorGeometry); + public const string WarningGeometry = nameof(WarningGeometry); + public const string AskGeometry = nameof(AskGeometry); + public const string FatalGeometry = nameof(FatalGeometry); + #endregion #region Brush + public const string PrimaryBrush = nameof(PrimaryBrush); + public const string DarkPrimaryBrush = nameof(DarkPrimaryBrush); + public const string SuccessBrush = nameof(SuccessBrush); + public const string DarkSuccessBrush = nameof(DarkSuccessBrush); public const string InfoBrush = nameof(InfoBrush); + public const string DarkInfoBrush = nameof(DarkInfoBrush); public const string DangerBrush = nameof(DangerBrush); + public const string DarkDangerBrush = nameof(DarkDangerBrush); public const string WarningBrush = nameof(WarningBrush); + public const string DarkWarningBrush = nameof(DarkWarningBrush); public const string AccentBrush = nameof(AccentBrush); + public const string DarkAccentBrush = nameof(DarkAccentBrush); public const string PrimaryTextBrush = nameof(PrimaryTextBrush); + public const string SecondaryTextBrush = nameof(SecondaryTextBrush); public const string ThirdlyTextBrush = nameof(ThirdlyTextBrush); + public const string ReverseTextBrush = nameof(ReverseTextBrush); + public const string TextIconBrush = nameof(TextIconBrush); + public const string BorderBrush = nameof(BorderBrush); + public const string SecondaryBorderBrush = nameof(SecondaryBorderBrush); + public const string BackgroundBrush = nameof(BackgroundBrush); + public const string RegionBrush = nameof(RegionBrush); + public const string SecondaryRegionBrush = nameof(SecondaryRegionBrush); + public const string ThirdlyRegionBrush = nameof(ThirdlyRegionBrush); + public const string TitleBrush = nameof(TitleBrush); + public const string DefaultBrush = nameof(DefaultBrush); + public const string DarkDefaultBrush = nameof(DarkDefaultBrush); + public const string DarkMaskBrush = nameof(DarkMaskBrush); + public const string DarkOpacityBrush = nameof(DarkOpacityBrush); + #endregion #region Converter + public const string Boolean2BooleanReConverter = nameof(Boolean2BooleanReConverter); + public const string Boolean2VisibilityReConverter = nameof(Boolean2VisibilityReConverter); + public const string BooleanArr2VisibilityConverter = nameof(BooleanArr2VisibilityConverter); + public const string Long2FileSizeConverter = nameof(Long2FileSizeConverter); + public const string String2VisibilityConverter = nameof(String2VisibilityConverter); + public const string String2VisibilityReConverter = nameof(String2VisibilityReConverter); + public const string Boolean2VisibilityConverter = nameof(Boolean2VisibilityConverter); + public const string TreeViewItemMarginConverter = nameof(TreeViewItemMarginConverter); + public const string Color2HexStringConverter = nameof(Color2HexStringConverter); + public const string Object2BooleanConverter = nameof(Object2BooleanConverter); + public const string Boolean2StringConverter = nameof(Boolean2StringConverter); + public const string Int2StringConverter = nameof(Int2StringConverter); + public const string BorderClipConverter = nameof(BorderClipConverter); + public const string BorderCircularClipConverter = nameof(BorderCircularClipConverter); + public const string BorderCircularConverter = nameof(BorderCircularConverter); + public const string Object2VisibilityConverter = nameof(Object2VisibilityConverter); + public const string Number2PercentageConverter = nameof(Number2PercentageConverter); + public const string RectangleCircularConverter = nameof(RectangleCircularConverter); + public const string ThicknessSplitConverter = nameof(ThicknessSplitConverter); + public const string CornerRadiusSplitConverter = nameof(CornerRadiusSplitConverter); + public const string MenuScrollingVisibilityConverter = nameof(MenuScrollingVisibilityConverter); + public const string Double2GridLengthConverter = nameof(Double2GridLengthConverter); #endregion #region Effect + public const string EffectShadowColor = nameof(EffectShadowColor); + public const string EffectShadow1 = nameof(EffectShadow1); + public const string EffectShadow2 = nameof(EffectShadow2); + public const string EffectShadow3 = nameof(EffectShadow3); + public const string EffectShadow4 = nameof(EffectShadow4); + public const string EffectShadow5 = nameof(EffectShadow5); + #endregion - #region Colors + #region Color + public const string PrimaryColor = nameof(PrimaryColor); + public const string DarkPrimaryColor = nameof(DarkPrimaryColor); + public const string DangerColor = nameof(DangerColor); + public const string DarkDangerColor = nameof(DarkDangerColor); + public const string WarningColor = nameof(WarningColor); + public const string DarkWarningColor = nameof(DarkWarningColor); + public const string InfoColor = nameof(InfoColor); + public const string DarkInfoColor = nameof(DarkInfoColor); + public const string SuccessColor = nameof(SuccessColor); + public const string DarkSuccessColor = nameof(DarkSuccessColor); + public const string PrimaryTextColor = nameof(PrimaryTextColor); + public const string SecondaryTextColor = nameof(SecondaryTextColor); + public const string ThirdlyTextColor = nameof(ThirdlyTextColor); + public const string ReverseTextColor = nameof(ReverseTextColor); + public const string TextIconColor = nameof(TextIconColor); + public const string BorderColor = nameof(BorderColor); + public const string SecondaryBorderColor = nameof(SecondaryBorderColor); + public const string BackgroundColor = nameof(BackgroundColor); + public const string RegionColor = nameof(RegionColor); + public const string SecondaryRegionColor = nameof(SecondaryRegionColor); + public const string ThirdlyRegionColor = nameof(ThirdlyRegionColor); + public const string TitleColor = nameof(TitleColor); + public const string SecondaryTitleColor = nameof(SecondaryTitleColor); + public const string DefaultColor = nameof(DefaultColor); + public const string DarkDefaultColor = nameof(DarkDefaultColor); + public const string AccentColor = nameof(AccentColor); + public const string DarkAccentColor = nameof(DarkAccentColor); + public const string DarkMaskColor = nameof(DarkMaskColor); + public const string DarkOpacityColor = nameof(DarkOpacityColor); + + #endregion + + #region Behavior + + public const string BehaviorXY200 = nameof(BehaviorXY200); + + public const string BehaviorX200 = nameof(BehaviorX200); + + public const string BehaviorY200 = nameof(BehaviorY200); + + public const string BehaviorXY400 = nameof(BehaviorXY400); + + public const string BehaviorX400 = nameof(BehaviorX400); + + public const string BehaviorY400 = nameof(BehaviorY400); + + #endregion + #endregion #region Internal + internal const string BlurGradientValue = nameof(BlurGradientValue); internal const string ButtonCustom = nameof(ButtonCustom); @@ -206,8 +349,7 @@ internal const string TabItemCapsuleVerticalFirst = nameof(TabItemCapsuleVerticalFirst); internal const string TabItemCapsuleVerticalLast = nameof(TabItemCapsuleVerticalLast); - - internal const string BehaviorXY400 = nameof(BehaviorXY400); + #endregion } } \ No newline at end of file From 0b79d187ac45bc5749ddbb5fac68cd402f2c6d53 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Thu, 19 Dec 2019 00:15:31 +0800 Subject: [PATCH 17/17] add fx files --- .../HandyControl_Shared.projitems | 4 ++-- .../Resources/Effects/ColorComplementEffect.fx | 10 ++++++++++ .../Resources/Effects/GrayScaleEffect.fx | 15 +++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 src/Shared/HandyControl_Shared/Resources/Effects/ColorComplementEffect.fx create mode 100644 src/Shared/HandyControl_Shared/Resources/Effects/GrayScaleEffect.fx diff --git a/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems b/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems index e8fea193..cea84005 100644 --- a/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems +++ b/src/Shared/HandyControl_Shared/HandyControl_Shared.projitems @@ -909,7 +909,7 @@ - - + + \ No newline at end of file diff --git a/src/Shared/HandyControl_Shared/Resources/Effects/ColorComplementEffect.fx b/src/Shared/HandyControl_Shared/Resources/Effects/ColorComplementEffect.fx new file mode 100644 index 00000000..1e550b99 --- /dev/null +++ b/src/Shared/HandyControl_Shared/Resources/Effects/ColorComplementEffect.fx @@ -0,0 +1,10 @@ +float4 main(float2 uv : TEXCOORD) : COLOR +{ + float4 color = tex2D(implicitInput, uv); + float4 complement; + + complement.rgb = color.a - color.rgb; + complement.a = color.a; + + return complement; +} \ No newline at end of file diff --git a/src/Shared/HandyControl_Shared/Resources/Effects/GrayScaleEffect.fx b/src/Shared/HandyControl_Shared/Resources/Effects/GrayScaleEffect.fx new file mode 100644 index 00000000..1e243e21 --- /dev/null +++ b/src/Shared/HandyControl_Shared/Resources/Effects/GrayScaleEffect.fx @@ -0,0 +1,15 @@ +sampler2D implicitInput : register(s0); +float scale : register(c0); + +float4 main(float2 uv : TEXCOORD) : COLOR +{ + float4 color = tex2D(implicitInput, uv); + + float4 complement; + float intensity = (color.r + color.g + color.b) / 3; + + complement.rgb = color.rgb * (1 - scale) + intensity * scale; + complement.a = color.a; + + return complement; +} \ No newline at end of file