public FrmRendirConsignacionCliente(IClock clock,
                                            IFormFactory formFactory,
                                            IMessageBoxDisplayService messageBoxDisplayService,
                                            ILaPazUow uow,
                                            IVentaNegocio ventaNegocio,
                                            IClienteNegocio clienteNegocio,
                                            IRemitosVentaDetalleNegocio remitoDetalleNegocio,
                                            IRemitosVentaNegocio remitoNegocio,
                                            IFormRegistry formRegistry, int id, ActionFormMode mode)
        {
            FormFactory  = formFactory;
            Uow          = uow;
            FormRegistry = formRegistry;

            _clock = clock;
            _messageBoxDisplayService = messageBoxDisplayService;
            _ventaNegocio             = ventaNegocio;
            _clienteNegocio           = clienteNegocio;
            _remitoDetalleNegocio     = remitoDetalleNegocio;
            _remitoNegocio            = remitoNegocio;

            _venta    = new Venta();
            _id       = id;
            _formMode = mode;

            InitializeComponent();
            InicializarForm(mode);
        }
        public FrmRendirConsignacionCliente(IClock clock,
                             IFormFactory formFactory,
                             IMessageBoxDisplayService messageBoxDisplayService,
                             ILaPazUow uow,
                             IVentaNegocio ventaNegocio,
                             IClienteNegocio clienteNegocio,
                             IRemitosVentaDetalleNegocio remitoDetalleNegocio,
                             IRemitosVentaNegocio remitoNegocio,
                             IFormRegistry formRegistry, int id, ActionFormMode mode)
        {
            FormFactory = formFactory;
            Uow = uow;
            FormRegistry = formRegistry;

            _clock = clock;
            _messageBoxDisplayService = messageBoxDisplayService;
            _ventaNegocio = ventaNegocio;
            _clienteNegocio = clienteNegocio;
            _remitoDetalleNegocio = remitoDetalleNegocio;
            _remitoNegocio = remitoNegocio;

            _venta = new Venta();
            _id = id;
            _formMode = mode;

            InitializeComponent();
            InicializarForm(mode);
        }
Example #3
0
        public FrmConsignacionListado(IFormFactory formFactory, ILaPazUow uow, IRemitosVentaNegocio remitoNegocio)
        {
            FormFactory = formFactory;
            Uow         = uow;
            InitializeComponent();

            //Fix para centrar columnas.
            this.GridConsignaciones.CellFormatting += this.Grilla_CellFormatting;

            MainGrid       = GridConsignaciones;
            _remitoNegocio = remitoNegocio;
        }
Example #4
0
        public FrmConsignacionCliente(IClock clock,
                                      IFormFactory formFactory,
                                      IMessageBoxDisplayService messageBoxDisplayService,
                                      ILaPazUow uow,
                                      IRemitosVentaNegocio consignacionNegocio,
                                      IClienteNegocio clienteNegocio,
                                      IFormRegistry formRegistry, Guid id, ActionFormMode mode)
        {
            FormFactory  = formFactory;
            Uow          = uow;
            FormRegistry = formRegistry;

            _clock = clock;
            _messageBoxDisplayService = messageBoxDisplayService;
            _consignacionNegocio      = consignacionNegocio;
            _clienteNegocio           = clienteNegocio;
            _consignacion             = new RemitosVenta();
            _id       = id;
            _formMode = mode;

            InitializeComponent();
            InicializarForm(mode);
        }
        public FrmConsignacionCliente(IClock clock,
                             IFormFactory formFactory,
                             IMessageBoxDisplayService messageBoxDisplayService,
                             ILaPazUow uow,
                             IRemitosVentaNegocio consignacionNegocio,
                             IClienteNegocio clienteNegocio,
                             IFormRegistry formRegistry, Guid id, ActionFormMode mode)
        {
            FormFactory = formFactory;
            Uow = uow;
            FormRegistry = formRegistry;

            _clock = clock;
            _messageBoxDisplayService = messageBoxDisplayService;
            _consignacionNegocio = consignacionNegocio;
            _clienteNegocio = clienteNegocio;
            _consignacion = new RemitosVenta();
            _id = id;
            _formMode = mode;

            InitializeComponent();
            InicializarForm(mode);
        }