示例#1
0
        private void webBrowser_NewWindow(object sender, Controls.WebBrowserNewWindowEventArgs e)
        {
            WebBrowserEx webBrowser = (WebBrowserEx)sender;
            Uri          ur         = new Uri(e.Url);

            if (this.SendRequestEvent != null)
            {
                this.SendRequestEvent(this, new Appointed2_GUI.Events.AppointedRequestEventArgs(e.Url));
            }
            e.Cancel = true;
        }
示例#2
0
 public DWebBrowserEvent2Helper(WebBrowserEx parent)
 {
     this.parent = parent;
 }