private void btnAddStudent_Click_1(object sender, EventArgs e)
        {
            frmRegisterStudent frmRegisterStudent = frmRegisterStudent.GetInstance();

            frmRegisterStudent.Show();
            this.Hide();
        }
Exemplo n.º 2
0
 public static frmRegisterStudent GetInstance()
 {
     if (Instance == null)
     {
         frmRegisterStudent new_Instance = new frmRegisterStudent();
         return(new_Instance);
     }
     return(Instance);
 }