alielie
2025-05-12 7bf89fd93bc487e8445d6d85bb527251b7371a04
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完全展示