cross-thread access exception异常;跨线程异常解决办法

来源:互联网 发布:常用linux命令 编辑:程序博客网 时间:2024/06/05 19:44
Deployment.Current.Dispatcher.BeginInvoke(() => 要执行的函数);

用来操作UI线程。
0 0