线程访问wpf的控件(与winform有差异)---------------WPF

  this.txtMessage.Dispatcher.Invoke(new outputDelegate(outputAction), msg);
每个控件都有一个Dispatcher,然后用invoke方法。。。,这根webbrowser的在线程中访问的方式很类似
原文地址:https://www.cnblogs.com/xiaoleye/p/4971105.html