c# 线程里调用ui控件 这样搞


this.Dispatcher.Invoke(delegate
{

//写这里
});

 

否则会出错

posted @ 2021-12-10 09:37  simadi  阅读(136)  评论(0编辑  收藏  举报