Exemplo n.º 1
0
 private void 浏览器ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (browserFm == null || browserFm.IsDisposed)
     {
         browserFm = new BrowserFrm();
         browserFm.Show(dockPanel);
         browserFm.Activate();
     }
     browserFm.Activate();
 }
Exemplo n.º 2
0
 //在浏览器中打开指定文章
 public void OpenUrl(string url)
 {
     if (browserFm == null || browserFm.IsDisposed)
     {
         browserFm = new BrowserFrm();
         browserFm.Show(dockPanel);
         browserFm.Activate();
     }
     browserFm.Activate();
     browserFm.OpenNewUrl(url);
 }