private void mnuAccount_Click(object sender, EventArgs e) { if (accountForm == null || accountForm.IsDisposed) { accountForm = new AccountForm(); accountForm.Show(); accountForm.MdiParent = this; } else { accountForm.Activate(); } }