Пример #1
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();
 }
Пример #2
0
        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();
        }
Пример #3
0
 public ProductModule()
 {
     productService = InstanceFactory.GetInstance <IProductService>();
     createMessage  = new CreateMessage();
     InitializeComponent();
 }
Пример #4
0
 public SupplierModule()
 {
     supplierService = InstanceFactory.GetInstance <ISupplierService>();
     createMessage   = new CreateMessage();
     InitializeComponent();
 }
Пример #5
0
 public UserModule()
 {
     createMessage = new CreateMessage();
     userService   = InstanceFactory.GetInstance <IUserService>();
     InitializeComponent();
 }
Пример #6
0
 public CustomerModule()
 {
     customerService = InstanceFactory.GetInstance <ICustomerService>();
     createMessage   = new CreateMessage();
     InitializeComponent();
 }