protected void OnNewWindow3(WebBrowserNewWindow3EventArgs e) { if (NewWindow3 != null) { NewWindow3(this, e); } }
public void NewWindow3(ref object ppDisp, ref bool cancel, UInt32 dwFlags, string bstrUrlContext, string bstrUrl) { WebBrowserNewWindow3EventArgs e = new WebBrowserNewWindow3EventArgs(ref ppDisp, bstrUrlContext, bstrUrl); parent.OnNewWindow3(e); ppDisp = e.ppDisp; cancel = e.Cancel; }