private void tsmenuItemSystem_Click(object sender, EventArgs e) { Form fc = Application.OpenForms["FormConnectionManager"]; if (fc == null) { FormConnectionManager connectionMan = new FormConnectionManager(); connectionMan.MdiParent = this; connectionMan.Show(); } else { fc.BringToFront(); } }
private void connectionManageToolStripMenuItem_Click(object sender, EventArgs e) { FormConnectionManager connectionMan = new FormConnectionManager(); connectionMan.Show(); }