예제 #1
0
 public FormAddStock()
 {
     InitializeComponent();
     _stockService = new StockService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
 }
예제 #2
0
        public FormInsertOrUpdateStock(string stockId)
        {
            InitializeComponent();

            _stockService = new StockService();
            _logService = new LogService();
            _stockId = stockId;
        }
예제 #3
0
파일: FormStock.cs 프로젝트: cuongpv88/work
 public FormStock()
 {
     InitializeComponent();
     _stockSeries = new StockService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     InsertSysLog();
 }
예제 #4
0
 public FormUpdateStock(string stockId)
 {
     InitializeComponent();
     _stockService = new StockService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _stockId = stockId;
     GetStockById(stockId);
 }
예제 #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 FormProduct()
 {
     InitializeComponent();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     _productService = new ProductService();
     _stockService = new StockService();
     LoadGirdLookUpStock();
     InsertSysLog();
 }
예제 #7
0
        public FormStocks()
        {
            InitializeComponent();

            _stockService = new StockService();
            _logService = new LogService();
            InsertSysLog();

            EnableButtonUpdateAndDelete(false);
        }
예제 #8
0
        public FormInsertOrUpdateProduct(string productId)
        {
            InitializeComponent();

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

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

            InsertSysLog();
        }
예제 #10
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();
        }
예제 #11
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();
 }
예제 #12
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();
 }
예제 #13
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();
        }