private void txtCodigo_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == Convert.ToChar(Keys.Enter)) { Buscar(); } ValidacionesStandard objValidacionesStandard = new ValidacionesStandard(); objValidacionesStandard.NoAdmiteLetras(e); }
private void txtImporte_KeyPress(object sender, KeyPressEventArgs e) { ValidacionesStandard objValidacionesStandard = new ValidacionesStandard(); objValidacionesStandard.NoAdmiteLetrasPerosiNumerosconUnPunto(sender, e); if (e.KeyChar == Convert.ToChar(Keys.Enter)) { btnAceptar_Click(null, null); } }
private void txtCuil_KeyPress(object sender, KeyPressEventArgs e) { ValidacionesStandard objValidacionesStandard = new ValidacionesStandard(); objValidacionesStandard.NoAdmiteLetras(e); }
private void txtTotal_KeyPress(object sender, KeyPressEventArgs e) { ValidacionesStandard objValidacionesStandard = new ValidacionesStandard(); objValidacionesStandard.NoAdmiteLetrasPerosiNumerosconUnPunto(sender, e); }