示例#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();
        }