Esempio n. 1
0
 public FormAddUnit()
 {
     InitializeComponent();
     _unitService = new UnitService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Esempio n. 2
0
 public FormUnit()
 {
     InitializeComponent();
     _unitService = new UnitService();
     _logService=new LogService();
     _employeeService = new EmployeeService();
     InsertSysLog();
 }
Esempio n. 3
0
        public FormInsertOrUpdateUnit(string unitId)
        {
            InitializeComponent();

            _unitService = new UnitService();
            _logService = new LogService();
            _unitId = unitId;

        }
Esempio n. 4
0
 public FormUpdateUnit(string unitId)
 {
     InitializeComponent();
     _unitService = new UnitService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     _unitId = unitId;
     GetUnitById(unitId);
 }
 public FormImportProductFormExcel()
 {
     InitializeComponent();
     _suppliersService = new SuppliersService();
     _productGroupService = new ProductGroupService();
     _productService = new ProductService();
     _stockService = new StockService();
     _unitService = new UnitService();
     _colorService = new ColorService();
 }
Esempio n. 6
0
        public FormUnits()
        {
            InitializeComponent();

            _unitService = new UnitService();
            _logService = new LogService();
            InsertSysLog();

            EnableButtonUpdateAndDelete(false);
        }
        public FormInsertOrUpdateProduct(string productId)
        {
            InitializeComponent();

            _productId = productId;
            _productService = new ProductService();
            _stockService = new StockService();
            _productGroupService = new ProductGroupService();
            _unitService = new UnitService();
            _logService = new LogService();      
        }
Esempio n. 8
0
        public FormProducts()
        {
            InitializeComponent();

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

            InsertSysLog();
        }
Esempio n. 9
0
        public FormStockExport()
        {
            InitializeComponent();

            _orderExportService = new OrderExportService();
            _employeeService = new EmployeeService();
            _productService = new ProductService();
            _stockService = new StockService();
            _unitService = new UnitService();
            _orderExportDetailService = new OrderExportDetailService();
            _inventoryService = new InventoryService();
            
            LoadGirdLookUpEmployees();
            LoadGirdLookUpProducts();
            LoadGirdLookUpStocks();
            LoadGirdLookUpUnits();
        }
Esempio n. 10
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();
 }
Esempio n. 11
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();
 }
Esempio n. 12
0
        public FormStockImport()
        {
            InitializeComponent();

            _orderImportService = new OrderImportService();
            _suppliersService = new SuppliersService();
            _productService = new ProductService();
            _stockService = new StockService();
            _unitService = new UnitService();
            _orderImportDetailService = new OrderImportDetailService();
            _managersService = new ManagersService();
            _inventoryService = new InventoryService();

            _employeeId = Program.CurrentUser.EmployeeID;
            LoadGirdLookUpSuppliers();
            LoadGirdLookUpEmployees();
            LoadGirdLookUpProducts();
            LoadGirdLookUpStocks();
            LoadGirdLookUpUnits();
        }