Ejemplo n.º 1
0
        private void txtCodigo_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar == Convert.ToChar(Keys.Enter))
            {
                Buscar();
            }

            ValidacionesStandard objValidacionesStandard = new ValidacionesStandard();

            objValidacionesStandard.NoAdmiteLetras(e);
        }
Ejemplo n.º 2
0
        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);
            }
        }
Ejemplo n.º 3
0
        private void txtCuil_KeyPress(object sender, KeyPressEventArgs e)
        {
            ValidacionesStandard objValidacionesStandard = new ValidacionesStandard();

            objValidacionesStandard.NoAdmiteLetras(e);
        }
Ejemplo n.º 4
0
        private void txtTotal_KeyPress(object sender, KeyPressEventArgs e)
        {
            ValidacionesStandard objValidacionesStandard = new ValidacionesStandard();

            objValidacionesStandard.NoAdmiteLetrasPerosiNumerosconUnPunto(sender, e);
        }