none
WebBrowser 能获取 即将弹出新窗口的链接吗? RRS feed

答案

  • WebBrowser 能获取 即将弹出新窗口的链接吗?

    你可以试试在newwindow事件里去捕获StatusText属性。

    private void webBrowser1_NewWindow(object sender, CancelEventArgs e)
    
           {
    
               webBrowser1.Navigate(webBrowser1.StatusText);
    
               e.Cancel = true;
    
        }
    


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    2015年4月22日 10:35
    版主