Dispatcher.Invoke(
                new Action(delegate {
                    textBox.Text+= msg;
                })
                );
System.Windows.Application.Current.Dispatcher.Invoke(new System.Action(() =>
                    {
                        IPrism.progressBar.Show();
 
                    }));

 

posted on 2020-04-24 11:12  凌落成迷  阅读(220)  评论(0编辑  收藏  举报