private void managerAndAgentToolStripMenuItem_Click_1(object sender, EventArgs e) { if (createManagerForm == null) { createManagerForm = new CreateManager(); createManagerForm.MdiParent = this; createManagerForm.Show(); } else { createManagerForm.Activate(); } }