线程间操作无效

1.窗体构造函数中写Control.CheckForIllegalCrossThreadCalls =false;

2.Invoke(new MethodInvoker(delegate()
  {
  //do something... }));

原文地址:https://www.cnblogs.com/Neil-Peng/p/8315360.html