winform窗体中webbrowser如何屏蔽脚本错误弹窗

在构造函数中加入:

webBrowser.ScriptErrorsSuppressed = true;

posted @ 2014-04-16 09:39  Simon Lau  阅读(838)  评论(0编辑  收藏  举报