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