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