private void toolStripMenuItem4_Click(object sender, EventArgs e) { if (formSimu == null || formSimu.IsDisposed) { formSimu = new FormAutoCalc(); formSimu.Show(dpMain, new Rectangle(50, 50, 918, 777)); } else { formSimu.Activate(); } }
private void toolStripMenuItem4_Click(object sender, EventArgs e) { if (formSimu == null || formSimu.IsDisposed) { formSimu = new FormAutoCalc(); formSimu.Show(dpMain,new Rectangle(50,50,918,777)); } else { formSimu.Activate(); } }