public void NewWindow3(ref object ppDisp, ref bool Cancel, uint dwFlags, string bstrUrlContext, string bstrUrl) { ExWebBrowserNewWindow3EventArgs args = new ExWebBrowserNewWindow3EventArgs(ppDisp, bstrUrl, bstrUrlContext); _Browser.OnNewWindow3(args); Cancel = args.Cancel; ppDisp = args.ActiveXInstance; }
/// <summary> /// Raises the <see cref="StartNewWindow"/> event /// </summary> /// <exception cref="ArgumentNullException">Thrown when BrowserExtendedNavigatingEventArgs is null</exception> protected void OnNewWindow3(ExWebBrowserNewWindow3EventArgs e) { if (e == null) { throw new ArgumentNullException("e"); } NewWindow3?.Invoke(this, e); }