Example #1
0
 public FormAddProductGroup()
 {
     InitializeComponent();
     _productGroupService = new ProductGroupService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     txtProductGroupID.Text = _productGroupService.NextId();
 }
Example #2
0
 public FormProductGroup()
 {
     InitializeComponent();
     _productGroupService = new ProductGroupService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     InsertSysLog();
 }
Example #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;
        }
 public FormImportProductFormExcel()
 {
     InitializeComponent();
     _suppliersService = new SuppliersService();
     _productGroupService = new ProductGroupService();
     _productService = new ProductService();
     _stockService = new StockService();
     _unitService = new UnitService();
     _colorService = new ColorService();
 }
        public FormInsertOrUpdateProduct(string productId)
        {
            InitializeComponent();

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

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

            InsertSysLog();
        }
Example #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();
 }
Example #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();
 }