Esempio n. 1
0
 public StoreModule()
 {
     storeService          = InstanceFactory.GetInstance <IStoreService>();
     productInStoreService = InstanceFactory.GetInstance <IProductInStoreService>();
     createMessage         = new CreateMessage();
     InitializeComponent();
 }
Esempio n. 2
0
 public ProductTransferModule()
 {
     productService        = InstanceFactory.GetInstance <IProductService>();
     storeService          = InstanceFactory.GetInstance <IStoreService>();
     supplierService       = InstanceFactory.GetInstance <ISupplierService>();
     buyOrSellService      = InstanceFactory.GetInstance <IBuyOrSellService>();
     productInStoreService = InstanceFactory.GetInstance <IProductInStoreService>();
     createMessage         = new CreateMessage();
     InitializeComponent();
 }
        public SellingProduct()
        {
            productService        = InstanceFactory.GetInstance <IProductService>();
            storeService          = InstanceFactory.GetInstance <IStoreService>();
            customerService       = InstanceFactory.GetInstance <ICustomerService>();
            buyOrSellService      = InstanceFactory.GetInstance <IBuyOrSellService>();
            productInStoreService = InstanceFactory.GetInstance <IProductInStoreService>();
            createMessage         = new CreateMessage();

            InitializeComponent();
        }