标签:dep str win tar end log except medium form
“System.InvalidOperationException”类型的第一次机会异常在 System.Windows.Forms.dll 中发生
https://blog.csdn.net/weixin_39946931/article/details/90721706?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase
Thread objThread = new Thread(new ThreadStart(delegate
{
Control.CheckForIllegalCrossThreadCalls = false;//添加这一句即可
youfunc();
}));
objThread.Start();
————————————————
版权声明:本文为CSDN博主「suddle」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_39946931/article/details/90721706
System.InvalidOperationException异常
标签:dep str win tar end log except medium form
原文地址:https://www.cnblogs.com/better-day/p/14272058.html