Example #1
0
 public FormAddSuppliers()
 {
     InitializeComponent();
     _suppliersService = new SuppliersService();
     _areaService = new AreaService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Example #2
0
 public FormUpdateSuppliers(string supplierId)
 {
     InitializeComponent();
     _suppliersService = new SuppliersService();
     _areaService = new AreaService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _supplierId = supplierId;
     GetSppliersById(supplierId);
 }
 public FormImportProductFormExcel()
 {
     InitializeComponent();
     _suppliersService = new SuppliersService();
     _productGroupService = new ProductGroupService();
     _productService = new ProductService();
     _stockService = new StockService();
     _unitService = new UnitService();
     _colorService = new ColorService();
 }
Example #4
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 #5
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();
 }
Example #6
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();
        }
 public FormImportSuppliersFormExcel()
 {
     InitializeComponent();
     _suppliersService = new SuppliersService();
     _areaService = new AreaService();
 }