private void 数据分析ToolStripMenuItem_Click(object sender, EventArgs e) { if (myChartForm != null) { myChartForm.Activate(); } else { myChartForm = new ChartForm(); } myChartForm.ShowDialog(); }
private void 数据分析ToolStripMenuItem_Click(object sender, EventArgs e) { //if (myChartForm != null) //{ // myChartForm.Activate(); //} //else //{ // myChartForm = new ChartForm(); //} myChartForm = new ChartForm(this); myChartForm.Show(); }