1. Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
2. Cannot access a disposed object close.
3. The current SynchronizationContext may not be used as a TaskScheduler.
this.Invoke(new MethodInvoker(delegate
{
//不建议使用,真的很多问题,FromCurrentSynchronizationContext是自动化的。
}
欢迎光临 大马资讯论坛 - 马来西亚中文资讯平台 (http://www.freeinfo.com.my/) | Powered by Discuz! X3.3 |