예제 #1
0
 public void AbrirAddProfesoresForm(bool mode, int index)
 {
     if (!this.abiertoAddProfesorForm)
     {
         this.agregarProfesorForm      = new AddProfesoresForm();
         agregarProfesorForm.padre     = this;
         abiertoAddProfesorForm        = true;
         agregarProfesorForm.iProfeMod = index;
         agregarProfesorForm.modo      = mode;
         agregarProfesorForm.ShowDialog();
     }
     else
     {
         agregarProfesorForm.Select();
     }
 }
예제 #2
0
 public void CerrarAddProfesoresForm()
 {
     agregarProfesorForm    = null;
     abiertoAddProfesorForm = false;
 }