void ie_events_NewWindow2(ref object ppDisp, ref bool Cancel)
        {
            frmExplorer frmExp;

            frmExp = new frmExplorer(this.optset);
            if (this.NewWindow != null)
            {
                this.NewWindow(frmExp);
            }

            ppDisp = frmExp.axWebBrowser1.Application;
            this.childs.Add(frmExp);
            frmExp.Show();
        }
Exemple #2
0
        public void OpenBrowserForm(object szurl)
        {
            string      url = (string)szurl;
            frmExplorer frmExp;

            if (url != null)
            {
                frmExp = new frmExplorer(this.optset, url);
            }
            else
            {
                frmExp = new frmExplorer(this.optset);
            }
            frmExp.ShowDialog();
        }
        void ie_events_NewWindow2(ref object ppDisp, ref bool Cancel)
        {
            frmExplorer frmExp;
            frmExp = new frmExplorer(this.optset);
            if (this.NewWindow != null) this.NewWindow(frmExp);

            ppDisp = frmExp.axWebBrowser1.Application;
            this.childs.Add(frmExp);
            frmExp.Show();
        }
Exemple #4
0
 public void OpenBrowserForm(object szurl)
 {
     string url = (string)szurl;
     frmExplorer frmExp;
     if (url != null)
     {
         frmExp = new frmExplorer(this.optset, url);
     }
     else
     {
         frmExp = new frmExplorer(this.optset);
     }
     frmExp.ShowDialog();
 }