Beispiel #1
0
        private bool VerificarPagoOk(string ci, MerchantPOS.Objetos.TipoCuenta tipocta, string nombre, decimal monto)
        {
            var r = true;

            if (ci == "" || nombre == "" || monto <= 0)
            {
                TB_MONTO.Select();
                Helpers.Msg.Alerta("Campos Incorrecto, Verifique Por Favor");
                r = false;
            }
            return(r);
        }
Beispiel #2
0
 private void Inicializar()
 {
     estatus_LecturaArchivo = false;
     BT_PAGO.Enabled        = true;
     TB_MONTO.Limpiar();
     PB_ERROR.Visible             = false;
     PB_OK.Visible                = false;
     TB_MONTO.Text                = "0.0";
     TB_CIRIF.Text                = "";
     TB_NOMBRE.Text               = "VENTA DETAL";
     CB_TIPO_CUENTA.SelectedIndex = 0;
     TB_MONTO.Select();
     L_MODO.Text = "Modo: PAGO";
     this.Text   = "Merchant ( Pago )";
 }
 private void IrFoco()
 {
     TB_MONTO.Focus();
 }