예제 #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;
 }
예제 #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;
 }