Пример #1
0
        public void CreateTab(string url)
        {
            BrowserTab tab = new BrowserTab(url, addressBar);

            uiBrowserTabControl.TabPages.Add(tab);
            AddBrowserEvents();
            tab.OpenInNewtab += Tab_OpenInNewtab;
        }
Пример #2
0
        public void CreateTab(string url)
        {
            //if ((RuntimeSettings.EnableWebDownloadMode && firstLoad) || !RuntimeSettings.EnableWebDownloadMode)
            //{
            BrowserTab tab = new BrowserTab(url, addressBar);

            uiBrowserTabControl.TabPages.Add(tab);
            AddBrowserEvents();
            tab.OpenInNewtab += Tab_OpenInNewtab;
            firstLoad         = false;
            //}
            //else
            //{
            //    CurrentTab.Browser.Load(url);
            //}
        }
 public void CreateTab(string url)
 {
     BrowserTab tab = new BrowserTab(url, addressBar);
     uiBrowserTabControl.TabPages.Add(tab);
     AddBrowserEvents();
     tab.OpenInNewtab += Tab_OpenInNewtab;
 }