Esempio n. 1
0
        private void WebBrowser_DocumentComplete(object sender, AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e)
        {
            IHTMLDocument2    doc    = (IHTMLDocument2)this.WebBrowser.Document;
            HTMLButtonElement button = (HTMLButtonElement)doc.all.item("theButton", null);

            ((HTMLButtonElementEvents2_Event)button).onclick += new HTMLButtonElementEvents2_onclickEventHandler(this.Button_onclick);
        }
Esempio n. 2
0
 void Browser_DocumentComplete(object sender, AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e)
 {
     Debug.WriteLine("Event: DWebBrowserEvents2 DocumentComplete");
 }