示例#1
0
 private void OnCerrandoApp(object sender, EventArgs e)
 {
     Aplicacion.usuarios.Add(usuarioActivo);
     Aplicacion.SerializeAll();
     //MessageBox.Show("Guardado!");
     System.Environment.Exit(0);
 }
 private void RegistrarseForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     Aplicacion.SerializeAll();
     System.Environment.Exit(0);
 }
示例#3
0
 private void EliminarCursoForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     Aplicacion.SerializeAll();
     System.Environment.Exit(0);
 }
 private void GuardarRegresarB_Click(object sender, EventArgs e)
 {
     Aplicacion.SerializeAll();
     Close();
 }
 private void ActualizarCursoForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     Aplicacion.SerializeAll();
     Environment.Exit(0);
 }
示例#6
0
 private void CrearNuevoAdministradorForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     Aplicacion.SerializeAll();
     Environment.Exit(0);
 }
示例#7
0
 private void ActualizarAvanceDeMallaForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     Aplicacion.SerializeAll();
     System.Environment.Exit(0);
 }
 private void salirToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Aplicacion.SerializeAll();
     Environment.Exit(0);
 }
 private void guardarToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Aplicacion.SerializeAll();
     MessageBox.Show("Guardado Exitoso");
 }
 private void AgregarEventoForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     Aplicacion.SerializeAll();
 }
 private void CrearCursoForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     Aplicacion.SerializeAll();
 }