void SetHandler(InternetExplorer explorer) { try { HTMLDocumentEventHelper helper = new HTMLDocumentEventHelper(explorer.Document as HTMLDocument); helper.oncontextmenu += new HtmlEvent(oncontextmenuHandler); } catch (Exception) { throw; } }
void SetHandler(InternetExplorer explorer) { try { HTMLDocumentEventHelper helper = new HTMLDocumentEventHelper(explorer.Document as HTMLDocument); helper.oncontextmenu += new HtmlEvent(oncontextmenuHandler); } catch (Exception) { throw; } }