webBrowser 参数设置

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


下一篇:数据结构作业——max_and_min(栈)