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;
            }