怎样判定已经将网页内容读取完毕
因为下面要对读取到的html代码进行处理
所以如果可以在读取完毕前阻塞进程最好下面是已经写好的代码:
AxSHDocVw.AxWebBrowser axWebBrowser;
mshtml.IHTMLDocument2 doc;
object x = System.Reflection.Missing.Value;
axWebBrowser.Navigate(@"c:\test.html", ref x, ref x, ref x, ref x);
-----------
doc = (mshtml.IHTMLDocument2)axWebBrowser.Document;
string html=doc.body.innerHTML;
怎样在中间加入阻塞?谢谢