From cb4f5b49074ae71944376b6f9439cb5bf0aadb4b Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sat, 6 Jul 2019 13:37:18 +0800 Subject: [PATCH] updated DialogDemo --- .../HandyControlDemo_Shared.projitems | 7 ++++ .../Properties/Langs/Lang.Designer.cs | 9 +++++ .../Properties/Langs/Lang.en.resx | 3 ++ .../Properties/Langs/Lang.resx | 3 ++ .../UserControl/Basic/ChatBox.xaml | 2 +- .../UserControl/Basic/InteractiveDialog.xaml | 2 +- .../Basic/InteractiveDialog.xaml.cs | 2 +- .../Basic/TextDialogWithTimer.xaml | 18 +++++++++ .../Basic/TextDialogWithTimer.xaml.cs | 24 ++++++++++++ .../UserControl/Controls/DialogDemoCtl.xaml | 1 + .../Basic/InteractiveDialogViewModel.cs | 3 +- .../ViewModel/Controls/DialogDemoViewModel.cs | 39 ++++++++++++------- 12 files changed, 96 insertions(+), 17 deletions(-) create mode 100644 src/Shared/HandyControlDemo_Shared/UserControl/Basic/TextDialogWithTimer.xaml create mode 100644 src/Shared/HandyControlDemo_Shared/UserControl/Basic/TextDialogWithTimer.xaml.cs diff --git a/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems b/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems index a97f4544..0e7f7718 100644 --- a/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems +++ b/src/Shared/HandyControlDemo_Shared/HandyControlDemo_Shared.projitems @@ -45,6 +45,9 @@ TextDialog.xaml + + TextDialogWithTimer.xaml + AnimationPathDemoCtl.xaml @@ -405,6 +408,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 a358c168..1ef33d47 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.Designer.cs @@ -1410,6 +1410,15 @@ namespace HandyControlDemo.Properties.Langs { } } + /// + /// 查找类似 文本对话框,带计时器 的本地化字符串。 + /// + public static string TextDialogWithTimer { + get { + return ResourceManager.GetString("TextDialogWithTimer", resourceCulture); + } + } + /// /// 查找类似 时间条 的本地化字符串。 /// diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx index e20eda66..4298ede4 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.en.resx @@ -624,4 +624,7 @@ Card + + TextDialog with timer + \ 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 04bf9e02..e5cabbbb 100644 --- a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.resx @@ -624,4 +624,7 @@ 卡片 + + 文本对话框,带计时器 + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/ChatBox.xaml b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/ChatBox.xaml index 6b22e2ef..2615146f 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Basic/ChatBox.xaml +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Basic/ChatBox.xaml @@ -37,7 +37,7 @@