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 txtTotal_KeyPress(object sender, KeyPressEventArgs e) { ValidacionesStandard objValidacionesStandard = new ValidacionesStandard(); objValidacionesStandard.NoAdmiteLetrasPerosiNumerosconUnPunto(sender, e); }