Beispiel #1
0
        private void BtnRegister_Click(object sender, EventArgs e)
        {
            Registro_Alumnos registro = new Registro_Alumnos();

            registro.idFamiliar = Guid.Empty;
            registro.main_      = this;
            registro.ShowDialog();
        }
Beispiel #2
0
 private void GuardarYAgregar_Click(object sender, EventArgs e)
 {
     if (crearAlumno())
     {
         this.Hide();
         Registro_Alumnos registro = new Registro_Alumnos();
         registro.idFamiliar = idFamiliar;
         registro.main_      = this.main_;
         registro.ShowDialog();
         registro.Closed += (s, args) => this.Close();
     }
 }