C# 子线程修改控件值

Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(() =>
{
// 在子线程中不能直接修改控件值会闪退

// 在这里修改控制值
}));

原文地址:https://www.cnblogs.com/rchao/p/15661876.html