private void textboxUsuarioEstado_KeyPress(object sender, KeyPressEventArgs e)
 {
     if ((int)e.KeyChar == (int)Keys.Enter)
     {
         ModificarEstado();
     }
     Validar.TextoConNumeros(e);
 }
Example #2
0
 private void txtContraseña_KeyPress(object sender, KeyPressEventArgs e)
 {
     if ((int)e.KeyChar == (int)Keys.Enter)
     {
         guardarcontraseña();
     }
     Validar.TextoConNumeros(e);
 }
 private void textboxUsuarioAgregar_KeyPress(object sender, KeyPressEventArgs e)
 {
     if ((int)e.KeyChar == (int)Keys.Enter)
     {
         Registrar();
     }
     Validar.TextoConNumeros(e);
 }
 private void textboxUsuarioBusqueda_KeyPress(object sender, KeyPressEventArgs e)
 {
     if ((int)e.KeyChar == (int)Keys.Enter)
     {
         Buscar();
     }
     Validar.TextoConNumeros(e);
 }
Example #5
0
 private void txtUsuario_KeyPress(object sender, KeyPressEventArgs e)
 {
     if ((int)e.KeyChar == (int)Keys.Enter)
     {
         IniciarSesion();
     }
     Validar.TextoConNumeros(e);
 }
 private void txtRespuesta2_KeyPress(object sender, KeyPressEventArgs e)
 {
     if ((int)e.KeyChar == (int)Keys.Enter)
     {
         preguntas();
     }
     Validar.TextoConNumeros(e);
 }
Example #7
0
 private void txtmodelo_KeyPress(object sender, KeyPressEventArgs e)
 {
     Validar.TextoConNumeros(e);
 }
 private void textboxContraseña_KeyPress(object sender, KeyPressEventArgs e)
 {
     Validar.TextoConNumeros(e);
 }
 private void textboxUsuarioModificar_KeyPress(object sender, KeyPressEventArgs e)
 {
     Validar.TextoConNumeros(e);
 }
Example #10
0
 private void txtDescripcion_KeyPress(object sender, KeyPressEventArgs e)
 {
     Validar.TextoConNumeros(e);
 }