diff --git a/src/Shared/HandyControlDemo_Shared/Data/MessageToken.cs b/src/Shared/HandyControlDemo_Shared/Data/MessageToken.cs index 6fdfd99e2..02f6a9bf9 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/MessageToken.cs +++ b/src/Shared/HandyControlDemo_Shared/Data/MessageToken.cs @@ -46,6 +46,8 @@ public class MessageToken public static readonly string NavigationWindow = nameof(NavigationWindow); + public static readonly string TouchDragMoveWindow = nameof(TouchDragMoveWindow); + public static readonly string DialogContainer = nameof(DialogContainer); public static readonly string LangUpdated = nameof(LangUpdated); diff --git a/src/Shared/HandyControlDemo_Shared/Data/MessageToken.tt b/src/Shared/HandyControlDemo_Shared/Data/MessageToken.tt index c25e913c5..e01ca42f0 100644 --- a/src/Shared/HandyControlDemo_Shared/Data/MessageToken.tt +++ b/src/Shared/HandyControlDemo_Shared/Data/MessageToken.tt @@ -26,6 +26,7 @@ var messageList = new List "GlowWindow", "NativeCommonWindow", "NavigationWindow", + "TouchDragMoveWindow", "DialogContainer", "LangUpdated" }; diff --git a/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems b/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems index d1ba9d54a..e6a14cc00 100644 --- a/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems +++ b/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems @@ -453,6 +453,9 @@ NativeCommonWindow.xaml + + TouchDragMoveWindow.xaml + NavigationWindow.xaml @@ -1025,6 +1028,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 3312cb1e0..5fe1db8d5 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs @@ -1441,6 +1441,17 @@ public static string OpenNavigationWindow } } + /// + /// 查找类似 点击打开触摸拖动窗口 的本地化字符串。 + /// + public static string OpenTouchDragMoveWindow + { + get + { + return ResourceManager.GetString("OpenTouchDragMoveWindow", resourceCulture); + } + } + /// /// 查找类似 打开无非客户端区域可拖拽窗口 的本地化字符串。 /// diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx index e8d774aaa..3af562a7c 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx @@ -362,7 +362,6 @@ 关于 - 代码仓库 @@ -766,4 +765,7 @@ 弹性盒子 + + 点击打开触摸拖动窗口 + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangProvider.cs b/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangProvider.cs index 9aade061c..54c8d00b7 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangProvider.cs +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/LangProvider.cs @@ -880,6 +880,11 @@ private void UpdateLangs() /// public string OpenNavigationWindow => Lang.OpenNavigationWindow; + /// + /// 查找类似 点击打开触摸拖动窗口 的本地化字符串。 + /// + public string OpenTouchDragMoveWindow => Lang.OpenTouchDragMoveWindow; + /// /// 查找类似 打开无非客户端区域可拖拽窗口 的本地化字符串。 /// @@ -1969,6 +1974,11 @@ public class LangKeys /// public static string OpenNavigationWindow = nameof(OpenNavigationWindow); + /// + /// 查找类似 点击打开触摸拖动窗口 的本地化字符串。 + /// + public static string OpenTouchDragMoveWindow = nameof(OpenTouchDragMoveWindow); + /// /// 查找类似 打开无非客户端区域可拖拽窗口 的本地化字符串。 /// diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeWindowDemoCtl.xaml b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeWindowDemoCtl.xaml index d1508dce8..e7fd28b5c 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeWindowDemoCtl.xaml +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Styles/NativeWindowDemoCtl.xaml @@ -11,6 +11,7 @@