WebBrowser 让其不跳转到ie
摘要:
private void webBrowser1_NewWindow(object sender, CancelEventArgs e) { e.Cancel = true; try { string url = this.webBrowser1.Document.ActiveElement.GetAttribute("href"); this.webBrowser1.Url = new Uri(url); } ... 阅读全文
posted @ 2013-04-11 15:54 Jason_liu 阅读(769) 评论(0) 推荐(0) 编辑