【发布时间】:2012-12-26 23:58:29
【问题描述】:
如何阻止浏览器的对话框?
在对话框中。我的程序被暂停了...... 我怎样才能阻止对话框。 我可以使用此代码,但它不起作用。
private void webExplorer_NewWindow(object sender, CancelEventArgs e)
{
e.Cancel = true;
}
【问题讨论】:
-
请尝试通过@Erx_VB.NExT.Coder 回答这个问题stackoverflow.com/questions/4164061
标签: c# .net c#-4.0 browser webbrowser-control