HMI.UI/MaskWindow.xaml.cs
@@ -42,6 +42,12 @@ private void MaskWindow_ContentRendered(object sender, EventArgs e) { //Dispatcher.InvokeAsync(new Action(() => //{ // 暂停线程令UI完全展示 // if (delay > 0) Thread.Sleep(delay); // action(this); //})); Task.Run(() => { // 暂停线程令UI完全展示