Esempio n. 1
0
 public frmFacturaFactureroA(int p_ClaveMov, short p_Copias, string p_Impresora)
 {
     ChangeConnection.StringConexion = Datos.ChangeConnection.StringConexion;
     ChangeConnection.Chage();
     InitializeComponent();
     this.sPFacturaFactureroTableAdapter.Fill(this.BDAtroxDataSet.SPFacturaFacturero, p_ClaveMov);
     Imprimir.Run(rvFacturaDeFacturero, p_Copias, p_Impresora);
 }
Esempio n. 2
0
 public frmResumenCuenta(int _CuentaDesde, int _CuentaHasta, DateTime _FechaDesde, DateTime _FechaHasta)
 {
     ChangeConnection.StringConexion = Datos.ChangeConnection.StringConexion;
     ChangeConnection.Chage();
     InitializeComponent();
     CuentaDesde = _CuentaDesde;
     CuentaHasta = _CuentaHasta;
     FechaDesde  = _FechaDesde;
     FechaHasta  = _FechaHasta;
 }
 public frmListadoMovimientos(int _CuentaDesde, int _CuentaHasta, DateTime _FechaDesde, DateTime _FechaHasta, string _TipoMovimiento)
 {
     ChangeConnection.StringConexion = Datos.ChangeConnection.StringConexion;
     ChangeConnection.Chage();
     InitializeComponent();
     CuentaDesde    = _CuentaDesde;
     CuentaHasta    = _CuentaHasta;
     FechaDesde     = _FechaDesde;
     FechaHasta     = _FechaHasta;
     TipoMovimiento = _TipoMovimiento;
 }
Esempio n. 4
0
        public object Post(ChangeConnection request)
        {
            var connString = "{0}:{1}?db={2}".Fmt(
                request.Host ?? "127.0.0.1",
                request.Port.GetValueOrDefault(6379),
                request.Db.GetValueOrDefault(0));

            var testConnection = new RedisClient(connString);

            testConnection.Ping();

            ((IRedisFailover)RedisManager).FailoverTo(connString);

            return(Get(new GetConnection()));
        }
Esempio n. 5
0
        public frmFacturaFacturero(int p_ClaveMov, short p_Copias, string p_Impresora, int p_IdComprobante)
        {
            ChangeConnection.StringConexion = Datos.ChangeConnection.StringConexion;
            ChangeConnection.Chage();
            InitializeComponent();
            switch (p_IdComprobante)
            {
            //FACTURA A
            case 1:
                this.sPFacturaFactureroTableAdapter.Fill(this.BDAtroxDataSet.SPFacturaFacturero, p_ClaveMov);
                Imprimir.Run(rvFacturaDeFacturero, p_Copias, p_Impresora);
                break;

            default:
                break;
            }
        }
Esempio n. 6
0
        public object Post(ChangeConnection request)
        {
            var connString = "{0}:{1}?db={2}".Fmt(
                request.Host ?? "127.0.0.1",
                request.Port.GetValueOrDefault(6379),
                request.Db.GetValueOrDefault(0));

            if (!string.IsNullOrEmpty(request.Password))
            {
                connString += "&password=" + request.Password.UrlEncode();
            }

            var testConnection = new RedisClient(connString);

            testConnection.Ping();

            ((IRedisFailover)RedisManager).FailoverTo(connString);

            return(Get(new GetConnection()));
        }
        public object Post(ChangeConnection request)
        {
            var connString = "{0}:{1}?db={2}".Fmt(
                request.Host ?? "127.0.0.1",
                request.Port.GetValueOrDefault(6379),
                request.Db.GetValueOrDefault(0));

            if (!string.IsNullOrEmpty(request.Password))
                connString += "&password=" + request.Password.UrlEncode();

            var testConnection = new RedisClient(connString);
            testConnection.Ping();

            ((IRedisFailover)TryResolve<IRedisClientsManager>()).FailoverTo(connString);

            return Get(new GetConnection());
        }
 protected override unsafe int OnChangeConnection(CorDebugProcess pProcess, uint dwConnectionId)
 {
     ChangeConnection?.Invoke(this, pProcess, dwConnectionId);
     return(Continue());
 }
 public frmParametrosResumenCuenta()
 {
     ChangeConnection.StringConexion = Datos.ChangeConnection.StringConexion;
     ChangeConnection.Chage();
     InitializeComponent();
 }
Esempio n. 10
0
        public object Post(ChangeConnection request)
        {
            var connString = "{0}:{1}?db={2}".Fmt(
                request.Host ?? "127.0.0.1",
                request.Port.GetValueOrDefault(6379),
                request.Db.GetValueOrDefault(0));

            var testConnection = new RedisClient(connString);
            testConnection.Ping();

            ((IRedisFailover)RedisManager).FailoverTo(connString);

            return Get(new GetConnection());
        }
 public frmParametrosMovimientos()
 {
     ChangeConnection.StringConexion = Datos.ChangeConnection.StringConexion;
     ChangeConnection.Chage();
     InitializeComponent();
 }
Esempio n. 12
0
 public frmParametrosListadoArticulos()
 {
     ChangeConnection.StringConexion = Datos.ChangeConnection.StringConexion;
     ChangeConnection.Chage();
     InitializeComponent();
 }