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; }
public void InvokeHtmlEvent() { if (HtmlEvent != null) { // Get the event. IHTMLEventObj pobjEvent = ((IHTMLDocument2) mHtmlDoc).GetParentWindow().eventobj; HtmlEventArgs ea = new HtmlEventArgs(pobjEvent); HtmlEvent(this, ea); } return; }