public StoreModule() { storeService = InstanceFactory.GetInstance <IStoreService>(); productInStoreService = InstanceFactory.GetInstance <IProductInStoreService>(); createMessage = new CreateMessage(); InitializeComponent(); }
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(); }