Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
        private void SepTestingForm(string p)
        {
            TestingForm.ShowInTaskbar = true;
            if (TestingForm.IsDisposed)
                TestingForm = new FrmSelfBrowser();

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