2011年4月12日
摘要: .NET控件必须被自身创建的线程访问,在任何线程中调用:InvokeRequired,Invoke,BeginInvoke,EndInvoke,CreateGraphics方法都是安全的,可在其他线程中调用这5个方法,使其通过委托(待确认)在控件自身创建线程中得到调用。lock InterLocked(原子)http://www.cnblogs.com/jintianhu/archive/2010/11/19/1881494.htmlhttp://www.cnblogs.com/xd125/archive/2007/12/12/992406.htmlthread一旦一个进程所有的前台线程都.. 阅读全文
posted @ 2011-04-12 16:10 LcKey 阅读(441) 评论(0) 推荐(0) 编辑