private void webBrowser1_NewWindow(object sender, CancelEventArgs e) { //防止弹窗; e.Cancel = true; string url = this.webBrowser1.StatusText; this.webBrowser1.Url = new Uri(url); }
private void webBrowser1_NewWindow(object sender, CancelEventArgs e) { //防止弹窗; e.Cancel = true; string url = this.webBrowser1.StatusText; this.webBrowser1.Url = new Uri(url); }
已有 3725 位网友参与,快来吐槽:
发表评论