// File -> Open URL private void openUrlToolStripMenuItem_Click(object sender, EventArgs e) { using (OpenUrlForm ouf = new OpenUrlForm()) { if (ouf.ShowDialog() == DialogResult.OK) { ExtendedWebBrowser brw = _windowManager.New(false); brw.Navigate(ouf.Url); } } }
// File -> Open URL private void openUrlToolStripMenuItem_Click(object sender, EventArgs e) { using (OpenUrlForm ouf = new OpenUrlForm()) { if (ouf.ShowDialog() == DialogResult.OK) { ExtendedWebBrowser brw = _windowManager.New(false); brw.Navigate(ouf.Url); } } }
// File -> Open URL private void openUrlToolStripMenuItem_Click(object sender, EventArgs e) { try { using (OpenUrlForm ouf = new OpenUrlForm()) { if (ouf.ShowDialog() == DialogResult.OK) { Johnny.Controls.Windows.ExtendedWebBrowser.ExtendedWebBrowser brw = _windowManager.New(false); brw.Navigate(ouf.Url); } } } catch (Exception ex) { Program.ShowMessageBox("FrmWebBrowser", ex); } }