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