阅读背景:

如何在.NET中编写安全/正确的多线程代码?

来源:互联网 

Today I had to fix some older VB.NET 1.0 code which is using threads. The problem was with updating UI elements from the worker thread instead of the UI-thread. It took me some time to find out that I can use assertions with InvokeRequired to find the problem.Today I had to fix some older VB.NET 1.0 code w




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: