Jason_liu

导航

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 on 2013-04-11 15:54  Jason_liu  阅读(766)  评论(0编辑  收藏  举报