Ejemplo n.º 1
0
        private void txtCodigo_KeyPress(object sender, KeyPressEventArgs e)
        {
            var a = new MyLibrary.Validacion();

            a.ValidaNumero(e);

            if (e.KeyChar == 13)
            {
                txtCantidadEx.Focus();
            }
        }
Ejemplo n.º 2
0
        private void txtCantidadEx_KeyPress(object sender, KeyPressEventArgs e)
        {
            var a = new MyLibrary.Validacion();

            a.ValidaNumero(e);
        }
Ejemplo n.º 3
0
        private void txtPrecio_KeyPress(object sender, KeyPressEventArgs e)
        {
            var a = new MyLibrary.Validacion();

            a.ValidaPUntoFlo(e);
        }