Пример #1
0
 protected virtual void OnNewWindowExtended(NewWindowExtendedEventArgs e)
 {
     if (this.NewWindowExtended != null)
     {
         this.NewWindowExtended(this, e);
     }
 }
Пример #2
0
 private void NewWindow(object sender, NewWindowExtendedEventArgs e)
 {
     e.Cancel = true;
     WorkbenchSingleton.Workbench.ShowView(new BrowserPane(e.Url));
 }
Пример #3
0
 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;
 }