Esempio n. 1
0
 public void InvokeHtmlEvent()
 {
     if (HtmlEvent != null)
     {
         // Get the event.
         mshtml.IHTMLEventObj pobjEvent = ((mshtml.IHTMLDocument2)
                                           m_htmldoc).parentWindow.@event;
         HtmlEventArgs ea = new HtmlEventArgs(pobjEvent);
         HtmlEvent(this, ea);
     }
     return;
 }
Esempio n. 2
0
 public void InvokeHtmlEvent()
 {
     if (HtmlEvent != null)
     {
         // Get the event.
         IHTMLEventObj pobjEvent = ((IHTMLDocument2)
             mHtmlDoc).GetParentWindow().eventobj;
         HtmlEventArgs ea = new HtmlEventArgs(pobjEvent);
         HtmlEvent(this, ea);
     }
     return;
 }