Example #1
0
 private void StudentRegistration_Click(object sender, EventArgs e)
 {
     if (addStudent == null)
     {
         addStudent = new AddNewStudent();
         addStudent.Show();
     }
     else
     {
         addStudent.WindowState = FormWindowState.Normal;
         addStudent.Show();
         addStudent.Focus();
     }
 }
Example #2
0
 private void studentRegisterationsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (addStudent == null || addStudent.IsDisposed)
     {
         addStudent = new AddNewStudent();
         addStudent.Show();
     }
     else
     {
         addStudent.WindowState = FormWindowState.Normal;
         addStudent.Show();
         addStudent.Focus();
     }
 }
Example #3
0
        private void Add_Click(object sender, EventArgs e)
        {
            AddNewStudent studentAdd = new AddNewStudent();

            studentAdd.Show();
        }