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); }
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; }
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 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; } }
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(); }
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(); }
public frmParametrosListadoArticulos() { ChangeConnection.StringConexion = Datos.ChangeConnection.StringConexion; ChangeConnection.Chage(); InitializeComponent(); }