コード例 #1
0
ファイル: FormAddStock.cs プロジェクト: cuongpv88/work
 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
ファイル: FormUpdateStock.cs プロジェクト: cuongpv88/work
 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
ファイル: FormProduct.cs プロジェクト: cuongpv88/work
 public FormProduct()
 {
     InitializeComponent();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     _productService = new ProductService();
     _stockService = new StockService();
     LoadGirdLookUpStock();
     InsertSysLog();
 }
コード例 #7
0
ファイル: FormStocks.cs プロジェクト: cuongpv88/work
        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
ファイル: FormProducts.cs プロジェクト: cuongpv88/work
        public FormProducts()
        {
            InitializeComponent();

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

            InsertSysLog();
        }
コード例 #10
0
ファイル: FormStockExport.cs プロジェクト: cuongpv88/work
        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
ファイル: FormUpdateProduct.cs プロジェクト: cuongpv88/work
 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
ファイル: FormAddProduct.cs プロジェクト: cuongpv88/work
 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
ファイル: FormStockImport.cs プロジェクト: cuongpv88/work
        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();
        }