2011-05-16 127 views

回答

3

訂閱WebBrowser控件的DocumentCompleted事件。即

this.webBrowser.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.WebBrowser_DocumentCompleted); 

private void WebBrowser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) 
{ 
    // Do stuff here 
} 
相關問題