//禁用脚本错误等类似的窗口信息
            this.webBrowser1.ScriptErrorsSuppressed = true;
            //禁用右键菜单
            this.webBrowser1.IsWebBrowserContextMenuEnabled = false;
            //禁用键盘快捷键
            this.webBrowser1.WebBrowserShortcutsEnabled = false;
            //打开IE打印机会话框
            this.webBrowser1.ShowPrintDialog();
            //打开IE的打印预览会话框
            this.webBrowser1.ShowPrintPreviewDialog();
            //打开IE的保存 会话框
            this.webBrowser1.ShowSaveAsDialog();

 

相关文章:

  • 2022-12-23
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2021-06-08
  • 2021-12-03
猜你喜欢
  • 2022-12-23
  • 2021-10-16
  • 2022-12-23
  • 2021-12-09
  • 2021-10-17
  • 2021-07-23
  • 2022-12-23
相关资源
相似解决方案