日期:2014-05-18 浏览次数:20836 次
private void axWebBrowser1_NavigateComplete2(object sender, AxSHDocVw.DWebBrowserEvents2_NavigateComplete2Event e) { AxSHDocVw.AxWebBrowser axWebBrowser1 = (AxSHDocVw.AxWebBrowser)sender; mshtml.HTMLDocument mydoc = (mshtml.HTMLDocument)axWebBrowser1.Document; string mystr = mydoc.body.innerHTML; MessageBox.Show(mystr);