Пример #1
0
 // 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);
         }
     }
 }
Пример #2
0
 // 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);
     }
   }
 }