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


this.Dispatcher.Invoke(delegate
{

//写这里
});

否则会出错

原文地址:https://www.cnblogs.com/simadi/p/15670289.html