From 4872b8e25c04262985864505a167e83c4a23fdd3 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Mon, 21 Oct 2019 22:06:56 +0800 Subject: [PATCH] fixed a bug of MessageBox --- .../UserControl/Controls/WindowDemoCtl.xaml.cs | 4 ++-- .../HandyControl_Shared/Controls/Window/MessageBox.cs | 6 +++--- src/Shared/HandyControl_Shared/Data/MessageBoxInfo.cs | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/WindowDemoCtl.xaml.cs b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/WindowDemoCtl.xaml.cs index 0fee133f..b10b0577 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Controls/WindowDemoCtl.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Controls/WindowDemoCtl.xaml.cs @@ -23,12 +23,12 @@ namespace HandyControlDemo.UserControl { MessageBox.Show(new MessageBoxInfo { - MessageBoxText = Properties.Langs.Lang.GrowlAsk, + Message = Properties.Langs.Lang.GrowlAsk, Caption = Properties.Langs.Lang.Title, Button = MessageBoxButton.YesNo, IconBrushKey = ResourceToken.AccentBrush, IconKey = ResourceToken.AskGeometry, - Style = ResourceHelper.GetResource