C#跨线程操作UI

WPF启动调度器 :


Dispatcher.Invoke(new Action(() =>
{
   //你的代码
}));

  

posted @ 2018-12-12 09:46  张统  阅读(365)  评论(0编辑  收藏  举报