private void btn3Person_Click(object sender, EventArgs e) { if (form3 == null || form3.IsDisposed) { form3 = new ListPerson(); form3.MdiParent = MainForm.ActiveForm; form3.Show(); } else { form3.Activate(); } }
public PersonForm(ListPerson f) { InitializeComponent(); //f.BackColor = Color.Yellow; }