protected virtual void OnNewWindowExtended(NewWindowExtendedEventArgs e) { if (this.NewWindowExtended != null) { this.NewWindowExtended(this, e); } }
private void NewWindow(object sender, NewWindowExtendedEventArgs e) { e.Cancel = true; WorkbenchSingleton.Workbench.ShowView(new BrowserPane(e.Url)); }
public void NewWindow3(object pDisp, ref bool cancel, ref object flags, ref string urlContext, ref string url) { NewWindowExtendedEventArgs e = new NewWindowExtendedEventArgs(new Uri(url)); this.browser.OnNewWindowExtended(e); cancel = e.Cancel; }