C# WPF线程内调用窗口控件

Action action = () =>
                {
                    this.Title = "";
                    this.textbox1.Text = "123";
                };
this.Dispatcher.BeginInvoke(action);
//this.textbox1.BeginInvoke(action);

猜你喜欢

转载自blog.csdn.net/liangyely/article/details/104635533
今日推荐