由网友(一路迷惘)分享简介:如何禁用 web浏览器控制在IE的右键菜单,而是在C#中执行右键单击事件的自定义操作?How do I disable the context menu in the IE WebBrowser control and instead perform custom handling of the right-clic...
如何禁用 web浏览器
控制在IE的右键菜单,而是在C#中执行右键单击事件的自定义操作?
How do I disable the context menu in the IE WebBrowser
control and instead perform custom handling of the right-click event in C#?
推荐答案
web浏览器的浏览器;
WebBrowser browser;
browser.Document.ContextMenuShowing += new HtmlElementEventHandler(MyCustomContextMenuMethod);
相关推荐
最新文章