读书人

webBrowser1.ReadyState能在线程中使用

发布时间: 2012-01-26 19:40:46 作者: rapoo

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.

读书人网 >C#

热点推荐