예제 #1
0
        private void tsmenuItemSystemCheck_Click(object sender, EventArgs e)
        {
            (sender as ToolStripMenuItem).Enabled = false;
            fSystemCheckingForm fsystemChecking = new fSystemCheckingForm();

            fsystemChecking.MdiParent = this;
            fsystemChecking.Show();
        }
예제 #2
0
        private void tsmenuItemSystemCheck_Click(object sender, EventArgs e)
        {
            Form fc = Application.OpenForms["fSystemCheckingForm"];

            if (fc == null)
            {
                fSystemCheckingForm fsystemChecking = new fSystemCheckingForm();
                fsystemChecking.MdiParent = this;
                fsystemChecking.Show();
            }
            else
            {
                fc.BringToFront();
            }
        }