Exemple #1
0
 public FormAddStock()
 {
     InitializeComponent();
     _stockService = new StockService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
 }
Exemple #2
0
 public FormAddUnit()
 {
     InitializeComponent();
     _unitService = new UnitService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Exemple #3
0
 public FormAddManager()
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _departmentService = new DepartmentService();
     _logService = new LogService();
 }
Exemple #4
0
 public FormAddArea()
 {
     InitializeComponent();
     _areaService = new AreaService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
 public FormAddProductGroup()
 {
     InitializeComponent();
     _productGroupService = new ProductGroupService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     txtProductGroupID.Text = _productGroupService.NextId();
 }
Exemple #6
0
 public FormUnit()
 {
     InitializeComponent();
     _unitService = new UnitService();
     _logService=new LogService();
     _employeeService = new EmployeeService();
     InsertSysLog();
 }
Exemple #7
0
 public FormStock()
 {
     InitializeComponent();
     _stockSeries = new StockService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     InsertSysLog();
 }
Exemple #8
0
 public FormAddSuppliers()
 {
     InitializeComponent();
     _suppliersService = new SuppliersService();
     _areaService = new AreaService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Exemple #9
0
 public FormProductGroup()
 {
     InitializeComponent();
     _productGroupService = new ProductGroupService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     InsertSysLog();
 }
Exemple #10
0
 public FormAddDepartment()
 {
     InitializeComponent();
     _departmentService = new DepartmentService();
     txtDepartmentID.Text = _departmentService.NextId();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Exemple #11
0
 public FormEmployees()
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _departmentService = new DepartmentService();
     InsertSysLog();
 }
Exemple #12
0
 public FormUpdateArea(string areaid)
 {
     InitializeComponent();
     _areaService = new AreaService();
     _areaId = areaid;
     GetAreaById(areaid);
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Exemple #13
0
 public FormUpdateUnit(string unitId)
 {
     InitializeComponent();
     _unitService = new UnitService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     _unitId = unitId;
     GetUnitById(unitId);
 }
 public FormUpdateProductGroup(string productGroupId)
 {
     InitializeComponent();
     _productGroupService = new ProductGroupService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _productGroupId = productGroupId;
     GetProductGroupById(productGroupId);
 }
Exemple #15
0
 public FormUpdateStock(string stockId)
 {
     InitializeComponent();
     _stockService = new StockService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _stockId = stockId;
     GetStockById(stockId);
 }
 public FormUpdateDepartment(string departmentId)
 {
     InitializeComponent();
     _departmentService = new DepartmentService();
     _departmentId = departmentId;
     GetDepartmentById(departmentId);
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Exemple #17
0
 public FormUpdateEmployee(string employeeId)
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _departmentService=new DepartmentService();
     _logService = new LogService();
     _employeeId = employeeId;
     GetEmployeesById(employeeId);
 }
Exemple #18
0
 public FormUpdateSuppliers(string supplierId)
 {
     InitializeComponent();
     _suppliersService = new SuppliersService();
     _areaService = new AreaService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _supplierId = supplierId;
     GetSppliersById(supplierId);
 }
Exemple #19
0
 public FormProduct()
 {
     InitializeComponent();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     _productService = new ProductService();
     _stockService = new StockService();
     LoadGirdLookUpStock();
     InsertSysLog();
 }
Exemple #20
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();
        }
Exemple #21
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();
 }
Exemple #22
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();
 }
Exemple #23
0
 public FormManagers()
 {
     InitializeComponent();
     _managersService = new ManagersService();
     _employeeService = new EmployeeService();
 }
 public FormImportEmployeeFormExcel()
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _departmentService = new DepartmentService();
 }