Пример #1
0
        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();
            }
        }
Пример #2
0
        private void connectionManageToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormConnectionManager connectionMan = new FormConnectionManager();

            connectionMan.Show();
        }