HMI.UI/MaskControl.xaml.cs
@@ -1,4 +1,5 @@ using System; using HMI.Core.Util; using System; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; @@ -36,7 +37,7 @@ public void ShowMask(UserControl control, Action action, Action<Exception> reject = null, string title = null, string content = null) { this.titleLabel.Content = title; this.titleLabel.Content = title ?? LangUtil.Get("App.PleaseWait"); this.contentLabel.Text = content; pausePanel.Visibility = Visibility.Visible; Task.Run(() =>