Jason_liu

导航

2013年4月11日 #

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 阅读(766) 评论(0) 推荐(0) 编辑