Esempio n. 1
0
        public frmQuery()
        {
            InitializeComponent();

            _productService    = new ProductService();
            _vipService        = new VipCardService();
            _vipProductService = new VipProductService();
        }
Esempio n. 2
0
        public frmPos()
        {
            InitializeComponent();

            _saleOrderService    = new SaleOrderService();
            _productService      = new ProductService();
            _vipService          = new VipCardService();
            _vipProductService   = new VipProductService();
            _workScheduleService = new WorkScheduleService();
            // 添加班次信息
            _currentWork = _workScheduleService.GetWorking(ContextService.StoreId, ContextService.PosId);
        }
Esempio n. 3
0
 public VipProductFacade(IDBContext dbContext)
 {
     _db = dbContext;
     _vipProductService = new VipProductService(this._db);
 }