日期:2014-05-20  浏览次数:21009 次

webBrowser1.ReadyState能在线程中使用吗?
while   (webBrowser1.ReadyState   !=   WebBrowserReadyState.Complete)
                Application.DoEvents();
这段代码能放在线程中吗?

------解决方案--------------------
up
------解决方案--------------------
You can not access a Windows Form control in a worker thread. You can only marshal the call back to the UI using Control.Invoke.