コード例 #1
0
        public WriteOffReasonPage(IWriteOffReasonService writeOffReasonService, IOptions <AppSettings> settings,
                                  IMapper mapper)
        {
            _writeOffReasonService = writeOffReasonService;
            _mapper   = mapper;
            _settings = settings.Value;

            InitializeComponent();

            UpdateDataGrid();
        }
コード例 #2
0
        public GoodsWriteOffOwnPage(IGoodsWriteOffOwnService goodsWriteOffOwnService,
                                    IWriteOffReasonService writeOffReasonService,
                                    IGoodsInMarketOwnService goodsInMarketOwnService,
                                    IOptions <AppSettings> settings, IMapper mapper, IGoodsOwnService goodsOwnService)
        {
            _goodsWriteOffOwnService = goodsWriteOffOwnService;
            _writeOffReasonService   = writeOffReasonService;
            _goodsInMarketOwnService = goodsInMarketOwnService;
            _mapper          = mapper;
            _goodsOwnService = goodsOwnService;
            _settings        = settings.Value;

            InitializeComponent();

            GoodsInMarketComboBox.IsEnabled = false;
        }
コード例 #3
0
        public GoodsWriteOffPage(IGoodsWriteOffService goodsWriteOffService,
                                 IWriteOffReasonService writeOffReasonService,
                                 IDeliveryShipmentService deliveryShipmentService,
                                 IGoodsInMarketService goodsInMarketService,
                                 IGoodsService goodsService,
                                 IOptions <AppSettings> settings, IMapper mapper)
        {
            _goodsWriteOffService    = goodsWriteOffService;
            _writeOffReasonService   = writeOffReasonService;
            _deliveryShipmentService = deliveryShipmentService;
            _goodsInMarketService    = goodsInMarketService;
            _goodsService            = goodsService;
            _mapper   = mapper;
            _settings = settings.Value;

            InitializeComponent();

            ShipmentDateComboBox.IsEnabled = false;
        }