private void OnContextMenuShowing(object sender, Mono.WebBrowser.ContextMenuEventArgs e) { HtmlElementEventHandler eh = (HtmlElementEventHandler) Events[ContextMenuShowingEvent]; if (eh != null) { HtmlElementEventArgs ev = new HtmlElementEventArgs (); eh (this, ev); if (ev.ReturnValue) { owner.OnWebHostContextMenuShown (sender, e); } } }