예제 #1
0
        private void verifyFilesToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            foreach (Form frm in Application.OpenForms)
            {
                if (frm.Text == "Verify Files")
                {
                    frm.TopMost = true;
                    return;
                }
            }

            VerifyFiles verifyFiles = new VerifyFiles();

            verifyFiles.Show();
        }
예제 #2
0
        private void txtVersionStatus_Click(object sender, EventArgs e)
        {
            if (txtVersionStatus.Text == "Not Installed (Click to Install)" || txtVersionStatus.Text == "Needs Update (Click to Update)")
            {
                foreach (Form frm in Application.OpenForms)
                {
                    if (frm.Text == "Verify Files")
                    {
                        frm.TopMost = true;
                        return;
                    }
                }

                VerifyFiles verifyFiles = new VerifyFiles();
                verifyFiles.Show();
            }
        }