追梦无悔 发表于 2014-7-9 19:55
在构造方法中添加一条: CheckForIllegalCrossThreadCalls = false;
控件不允许线程间操作 ,有两种 ...
_xixi_ 发表于 2014-7-10 22:43
谢谢~CheckForIllegalCrossThreadCalls = false; 解决了我的问题
gwljp 发表于 2014-7-11 14:31
你的是子线程调用主线程控件问题,一般都是使用委托来达到效果的
_xixi_ 发表于 2014-7-12 12:57
总算把委托的方法给实现了,谢谢各位的指点!
绿箭 发表于 2014-7-13 20:54
代码挺牛叉的,借鉴一下呀,研究研究
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |