protected virtual void OnNewWindowExtended(NewWindowExtendedEventArgs e)
 {
     if (NewWindowExtended != null)
     {
         NewWindowExtended(this, e);
     }
 }
            public void NewWindow3(object pDisp, ref bool cancel, ref object flags, ref string urlContext, ref string url)
            {
                NewWindowExtendedEventArgs e = new NewWindowExtendedEventArgs(new Uri(url));

                browser.OnNewWindowExtended(e);
                cancel = e.Cancel;
            }
示例#3
0
 void NewWindow(object sender, NewWindowExtendedEventArgs e)
 {
     e.Cancel = true;
     WorkbenchSingleton.Workbench.ShowView(new BrowserPane(e.Url));
 }
示例#4
0
 void NewWindow(object sender, NewWindowExtendedEventArgs e)
 {
     e.Cancel = true;
     SD.Workbench.ShowView(new BrowserPane(e.Url));
 }
示例#5
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));
				browser.OnNewWindowExtended(e);
				cancel = e.Cancel;
			}
示例#6
0
		protected virtual void OnNewWindowExtended(NewWindowExtendedEventArgs e)
		{
			if (NewWindowExtended != null) {
				NewWindowExtended(this, e);
			}
		}