Пример #1
0
 public FormAddProductGroup()
 {
     InitializeComponent();
     _productGroupService = new ProductGroupService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     txtProductGroupID.Text = _productGroupService.NextId();
 }
Пример #2
0
 public FormProductGroup()
 {
     InitializeComponent();
     _productGroupService = new ProductGroupService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     InsertSysLog();
 }
Пример #3
0
 public FormUpdateProductGroup(string productGroupId)
 {
     InitializeComponent();
     _productGroupService = new ProductGroupService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _productGroupId = productGroupId;
     GetProductGroupById(productGroupId);
 }
        public FormInsertOrUpdateProductGroup(string productGroupId)
        {
            InitializeComponent();

            _logService = new LogService();
            _productGroupService = new ProductGroupService();

            _productGroupId = productGroupId;
        }
Пример #5
0
 public FormImportProductFormExcel()
 {
     InitializeComponent();
     _suppliersService = new SuppliersService();
     _productGroupService = new ProductGroupService();
     _productService = new ProductService();
     _stockService = new StockService();
     _unitService = new UnitService();
     _colorService = new ColorService();
 }
Пример #6
0
        public FormInsertOrUpdateProduct(string productId)
        {
            InitializeComponent();

            _productId = productId;
            _productService = new ProductService();
            _stockService = new StockService();
            _productGroupService = new ProductGroupService();
            _unitService = new UnitService();
            _logService = new LogService();      
        }
Пример #7
0
        public FormProducts()
        {
            InitializeComponent();

            _logService = new LogService();
            //_departmentService = new DepartmentService();
            _productService = new ProductService();
            _stockService = new StockService();
            _productGroupService = new ProductGroupService();
            _unitService = new UnitService();

            InsertSysLog();
        }
Пример #8
0
 public FormUpdateProduct(string productId)
 {
     InitializeComponent();
     _productId = productId;
     _productService = new ProductService();
     _stockService = new StockService();
     _productGroupService = new ProductGroupService();
     _unitService = new UnitService();
     _suppliersService = new SuppliersService();
     _colorService = new ColorService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     GetProductById(productId);
     LoadGirdLookUpStock();
     LoadGirdLookUpProductGroup();
     LoadGirdLookUpSuppliers();
     LoadGirdLookUpUnit();
     LoadGirdLookUpColor();
 }
Пример #9
0
 public FormAddProduct()
 {
     InitializeComponent();
     _productService = new ProductService();
     _stockService = new StockService();
     _productGroupService = new ProductGroupService();
     _unitService = new UnitService();
     _suppliersService = new SuppliersService();
     _colorService = new ColorService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     LoadGirdLookUpStock();
     LoadGirdLookUpProductGroup();
     LoadGirdLookUpSuppliers();
     LoadGirdLookUpUnit();
     LoadGirdLookUpColor();
     txtProductID.Text = _productService.NextId();
     txtBarcode.Text = _productService.NextId();
 }
 public FormImportProductGroupFormExcel()
 {
     InitializeComponent();
     _productGroupService = new ProductGroupService();
 }