2012-12-26 34 views
-1

如何禁止浏览器的对话框?如何禁止浏览器c的对话框#

在对话框中。而我的程序暂停... 我怎样才能阻止对话框。 ©可以使用此代码,但它不起作用。

 private void webExplorer_NewWindow(object sender, CancelEventArgs e) 
    { 
     e.Cancel = true; 
    } 
+0

请尝试回答这个问题http://stackoverflow.com/questions/4164061/通过@ Erx_VB.NExT.Coder – TheVillageIdiot

回答

1

这是一个javascript alert()调用。请参阅here