Пример #1
0
        private void manageStudentsInfoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            bool Isopen = false;

            foreach (Form f in Application.OpenForms)
            {
                if (f.Text == "Manage_Student_Info")
                {
                    Isopen = true;
                    f.BringToFront();
                    break;
                }
            }

            if (Isopen == false)
            {
                Manage_Student_Info msi = new Manage_Student_Info();
                msi.Show();
            }
        }
Пример #2
0
        private void editStudentbtn_Click(object sender, EventArgs e)
        {
            Manage_Student_Info msi = new Manage_Student_Info();

            msi.Show();
        }