示例#1
0
        /// <summary>
        /// Creates the web browser.
        /// </summary>
        private static void CreateWebBrowser()
        {
            BrowserForm frm = new BrowserForm();

            //DockPane pane = DockPanel.Extender.DockPaneFactory.CreateDockPane(frm, DockState.Document, true);
            //frm.MdiParent = MainForm;

            mWebBrowser = frm.WebBrowser;
            frm.Show(DockPanel, Properties.Settings.Default.WebBrowserDockState);
            Tabs.WebBrowser = frm;
        }
示例#2
0
 /// <summary>
 /// Creates the web browser.
 /// </summary>
 private static void CreateWebBrowser()
 {
     BrowserForm frm = new BrowserForm();
     //DockPane pane = DockPanel.Extender.DockPaneFactory.CreateDockPane(frm, DockState.Document, true);
     //frm.MdiParent = MainForm;
     
     mWebBrowser = frm.WebBrowser;
     frm.Show(DockPanel, Properties.Settings.Default.WebBrowserDockState);
     Tabs.WebBrowser = frm; 
 }