在 winforms 中禁用 Web 浏览器的选项控件

Disable web browser's options controls in winforms

我在我的 windforms 应用程序中使用了 web 浏览器控件来集成 nicEditor。我用它来显示和编辑。我怎样才能禁用该网络浏览器的选项。就像当我们右键单击时,我们可以选择返回并重新加载页面等。我如何在 winforms 中禁用它。?

您可以通过将 Web 浏览器控件的 IsWebBrowserContextMenuEnabled 属性 设置为 false 来实现。