使用多线程使软件界面具有较好的响应性
http://dev.csdn.net/article/18/18280.shtm

解决方案 »

  1.   

    to:你用VC吗?我只懂一点C#以前只有VC :)
      

  2.   

    噢 我现在是指在.net下如何使用工作线程与UI线程协同工作
      

  3.   

    to: OneDotRed那如果多个线程同时调用ISynchronizeInvoke.Invoke 方法,需不需要我们自己提供代码来实现对 
    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。