alielie
2025-04-10 6bcafc823e836ecd5790f87178a906333699f868
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完全展示