private void 历史查询与分析ToolStripMenuItem_Click(object sender, EventArgs e) { if (_frmResult == null || _frmResult.IsDisposed) { _frmResult = new FrmResult(); _frmResult.Show(); } else { _frmResult.Focus(); _frmResult.WindowState = FormWindowState.Normal; _frmResult.Show(); } }
private void btnResult_Click(object sender, EventArgs e) { FrmResult result = new FrmResult(); result.Show(); }