private void webBrowser1_NewWindow(object sender, System.ComponentModel.CancelEventArgs e) { parent.AddBrowser(webBrowser1.StatusText); e.Cancel = true; }