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

在构造函数中加入:

webBrowser.ScriptErrorsSuppressed = true;

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