private void axWebBrowser1_DocumentComplete(object sender, AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e)
{
AxSHDocVw.AxWebBrowser browser1 = (AxSHDocVw.AxWebBrowser)sender;
if (browser1.ReadyState==SHDocVw.tagREADYSTATE.READYSTATE_COMPLETE)
{
//网页加载完毕,可以访问Document2;
//获得Document2
IHTMLDocument2 HTMLDocument2=(IHTMLDocument2) browser1.Document;
}
}