2009年3月16日
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using ... 阅读全文
posted @ 2009-03-16 14:55 几度夕阳红了 阅读(2401) 评论(1) 推荐(2)
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Threading;using System.Collections;namespace MultiThreadLearn{ intern... 阅读全文
posted @ 2009-03-16 14:47 几度夕阳红了 阅读(475) 评论(0) 推荐(0)
摘要: 线程间操作无效:从不是创建控件“XX”的线程访问它。 解决方法: 在构造函数中加入如下代码:CheckForIllegalCrossThreadCalls = false; 这个不提倡大家使用,可以使用 this.BeginInvoke(new Action(() => { this.button1 阅读全文
posted @ 2009-03-16 12:52 几度夕阳红了 阅读(473) 评论(2) 推荐(0)