使用多线程使软件界面具有较好的响应性
http://dev.csdn.net/article/18/18280.shtm
http://dev.csdn.net/article/18/18280.shtm
解决方案 »
- 如何用 XmlReader 获取指定父节点的子节点
- 如何把SQL中表的某一字段赋值给C#的一个变量?
- 解决VS2005中文输入法半角/全角的补丁谁有?
- 新手求助,急~~~~~~~~~
- 从进程得到所有线程实例
- MessageBox.Show不能用要加什么类啊,提示找不到类型或命名空间名称
- 请问C#和C# Builder有什么区别?为什么CSDN要列为单独的两个栏目呢?
- [求助]怎样通过一字符串("ssss")转换来创建一类class(ssss)
- 开了多线程,如何判断各个线程都执行好了?
- 小问题不过我一直不会,请帮忙!
- 如何控制datagrid中的行是否可以編輯???
- 关于应用程序配置问题,配置节处理-在线等,急!!!
ISynchronizeInvoke.Invoke 调用的互斥(这与使用WIN API 的消息应该不同吧,有没有关于Control
中对Invoke的实现的机理的解释的文档。)还有就是MSDN里的这段解释:
The delegate can be an instance of EventHandler, in which case the sender parameter will contain this control, and the event parameter will contain EventArgs.Empty. The delegate can also be an instance of MethodInvoker, or any other delegate that takes a void parameter list. A call to an EventHandler or MethodInvoker delegate will be faster than a call to another type of delegate.这里为什么特别指出参数e是EventArgs.Empty,EventArgs的派生类不可以吗?另外,我要是随便定义一个比如:
delegate int MyHandler(int iParam1, int iParam2, int iParam3)
,这样是不是也不行,而必须是 a delegate that takes a void parameter list。