private void txtConfirmarContraseña_KeyPress(object sender, KeyPressEventArgs e) { if ((int)e.KeyChar == (int)Keys.Enter) { CambiarContraseña(); //return; } e.Handled = Password_Controlador.Validar_Password(e.KeyChar); }
private void txtPassword_KeyPress(object sender, KeyPressEventArgs e) { if ((int)e.KeyChar == (int)Keys.Enter) { IngresarSistema(); } else { e.Handled = Password_Controlador.Validar_Password(e.KeyChar); } }
private void txtNuevaContraseña_KeyPress(object sender, KeyPressEventArgs e) { e.Handled = Password_Controlador.Validar_Password(e.KeyChar); }