private void txtTelefono_KeyPress(object sender, KeyPressEventArgs e) { Validaciones.SoloNumeros(e); if ((int)e.KeyChar == (int)Keys.Enter) { e.Handled = true; this.txtDireccion.Focus(); } }
private void txtCantidad_KeyPress(object sender, KeyPressEventArgs e) { Validaciones.SoloNumeros(e); }
private void TxtTelefono_KeyPress(object sender, KeyPressEventArgs e) { Validaciones.SoloNumeros(e); }
private void TxtBuscarCodigoBarra_PreviewTextInput(object sender, TextCompositionEventArgs e) => Validaciones.SoloNumeros(sender, e);