...评论:0 赞:0 阅读:36 winform 防止主界面卡死 总结网络上的解决方案:新线程=> 委托=> 主界面的异步更新方法(IAsyncResult BeginInvoke(Delegate method)),一句话就是通过委托调用另一个线程的异步方法.
基于36个网页-相关网页
The last two arguments of this method, IAsyncResult and object, will be discussed shortly.
而后两个参数,IAsyncResult和object,稍后再做讨论。
The method returns an IAsyncResult, which can be used to monitor completion, wait on the WaitHandle, or complete the asynchronous call.
这个方法返回一个IAsyncResult,它可以被用在监测完成,也可以等待在WaitHandel,或者完成异步调用。
应用推荐