private void tsmPCManager_Click(object sender, EventArgs e) { if (!CheckExistForm("PCManager")) { PCManager frmPCManager = new PCManager(); frmPCManager.MdiParent = this; frmPCManager.Show(); } else { ActiveChildForm("PCManager"); } }