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