HMI.UI/Util/MsgBoxHelper.cs
@@ -2,6 +2,7 @@ using System.Windows; using Panuon.WPF.UI.Configurations; using HMI.Core.Util; using System; namespace HMI.UI.Util { @@ -74,7 +75,10 @@ owner.Dispatcher.Invoke(() => { window = Window.GetWindow(owner) ?? Application.Current.MainWindow; res = MessageBoxX.Show(window, message, caption, button, icon, defaultButton, setting, countdown); window.Dispatcher.Invoke(() => { res = MessageBoxX.Show(window, message, caption, button, icon, defaultButton, setting, countdown); }); }); } else