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.