示例#1
0
文件: FormMain.cs 项目: 4neso/rykon
        private void LaunchBrowser(string url)
        {

            if (url.Length < 2)
                return;

            if (!separatedBrowser)
            {
                LookForTabPAge(tabControlMain, tbpgBrowser);
                textBox_BrowserUrl.Text = url;
                buttonNavigate.PerformClick();
                return;
            }

            TestingForm.ShowInTaskbar = true;
            if (TestingForm.IsDisposed)
                TestingForm = new FrmSelfBrowser();

            TestingForm.SetUrl(url);
            TestingForm.Show();
        }
示例#2
0
        private void SepTestingForm(string p)
        {
            TestingForm.ShowInTaskbar = true;
            if (TestingForm.IsDisposed)
                TestingForm = new FrmSelfBrowser();

            TestingForm.SetUrl(p);
            TestingForm.Show();
        }