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);
        }
Beispiel #3
0
        public FrmModificarConsignacionVenta(IClock clock, IFormFactory formFactory,
                                             ILaPazUow uow,
                                             IRemitosVentaDetalleNegocio remitoDetalleNegocio,
                                             IMessageBoxDisplayService messageBoxDisplayService,
                                             Guid id)
        {
            FormFactory = formFactory;
            Uow         = uow;

            _clock = clock;

            InitializeComponent();

            _messageBoxDisplayService = messageBoxDisplayService;
            _remitoDetalleNegocio     = remitoDetalleNegocio;
            _remitoDetalleid          = id;
            TxtDescuento.Text         = "0";
        }
        public FrmModificarConsignacionVenta(IClock clock, IFormFactory formFactory,
                                   ILaPazUow uow,
                                   IRemitosVentaDetalleNegocio remitoDetalleNegocio,
                                   IMessageBoxDisplayService messageBoxDisplayService,
                                   Guid id)
        {

            FormFactory = formFactory;
            Uow = uow;

            _clock = clock;

            InitializeComponent();

            _messageBoxDisplayService = messageBoxDisplayService;
            _remitoDetalleNegocio = remitoDetalleNegocio;
            _remitoDetalleid = id;
            TxtDescuento.Text = "0";
        }