private void btn3Person_Click(object sender, EventArgs e) { if (form3 == null || form3.IsDisposed) { form3 = new PersonForm(); form3.MdiParent = MainForm.ActiveForm; form3.Show(); } else { form3.Activate(); } }
private void button2_Click(object sender, EventArgs e) { PersonForm form = new PersonForm(); form.Show(); }