Example #1
0
 public FormAddUnit()
 {
     InitializeComponent();
     _unitService = new UnitService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Example #2
0
 public FormAddManager()
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _departmentService = new DepartmentService();
     _logService = new LogService();
 }
Example #3
0
 public FormAddArea()
 {
     InitializeComponent();
     _areaService = new AreaService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Example #4
0
 public FormAddStock()
 {
     InitializeComponent();
     _stockService = new StockService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
 }
Example #5
0
 public FormAddProductGroup()
 {
     InitializeComponent();
     _productGroupService = new ProductGroupService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     txtProductGroupID.Text = _productGroupService.NextId();
 }
Example #6
0
 public FormStock()
 {
     InitializeComponent();
     _stockSeries = new StockService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     InsertSysLog();
 }
Example #7
0
 public FormAddSuppliers()
 {
     InitializeComponent();
     _suppliersService = new SuppliersService();
     _areaService = new AreaService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Example #8
0
 public FormAddDepartment()
 {
     InitializeComponent();
     _departmentService = new DepartmentService();
     txtDepartmentID.Text = _departmentService.NextId();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
        public FormInsertOrUpdateStock(string stockId)
        {
            InitializeComponent();

            _stockService = new StockService();
            _logService = new LogService();
            _stockId = stockId;
        }
Example #10
0
 public FormProductGroup()
 {
     InitializeComponent();
     _productGroupService = new ProductGroupService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     InsertSysLog();
 }
Example #11
0
 public FormEmployees()
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _departmentService = new DepartmentService();
     InsertSysLog();
 }
Example #12
0
 public FormUnit()
 {
     InitializeComponent();
     _unitService = new UnitService();
     _logService=new LogService();
     _employeeService = new EmployeeService();
     InsertSysLog();
 }
        public FormInsertOrUpdateProductGroup(string productGroupId)
        {
            InitializeComponent();

            _logService = new LogService();
            _productGroupService = new ProductGroupService();

            _productGroupId = productGroupId;
        }
Example #14
0
 public FormUpdateStock(string stockId)
 {
     InitializeComponent();
     _stockService = new StockService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _stockId = stockId;
     GetStockById(stockId);
 }
Example #15
0
 public FormUpdateArea(string areaid)
 {
     InitializeComponent();
     _areaService = new AreaService();
     _areaId = areaid;
     GetAreaById(areaid);
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Example #16
0
 public FormUpdateUnit(string unitId)
 {
     InitializeComponent();
     _unitService = new UnitService();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     _unitId = unitId;
     GetUnitById(unitId);
 }
Example #17
0
 public FormUpdateEmployee(string employeeId)
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _departmentService=new DepartmentService();
     _logService = new LogService();
     _employeeId = employeeId;
     GetEmployeesById(employeeId);
 }
Example #18
0
 public FormUpdateProductGroup(string productGroupId)
 {
     InitializeComponent();
     _productGroupService = new ProductGroupService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _productGroupId = productGroupId;
     GetProductGroupById(productGroupId);
 }
Example #19
0
        public FormInsertOrUpdateUnit(string unitId)
        {
            InitializeComponent();

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

        }
Example #20
0
 public FormUpdateDepartment(string departmentId)
 {
     InitializeComponent();
     _departmentService = new DepartmentService();
     _departmentId = departmentId;
     GetDepartmentById(departmentId);
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
        public FormInsertOrUpdateDepartment(string departmentId)
        {
            InitializeComponent();

            _logService = new LogService();
            _departmentService = new DepartmentService();

            _departmentId = departmentId;
        }
Example #22
0
        public FormUnits()
        {
            InitializeComponent();

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

            EnableButtonUpdateAndDelete(false);
        }
Example #23
0
        public FormStocks()
        {
            InitializeComponent();

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

            EnableButtonUpdateAndDelete(false);
        }
Example #24
0
 public FormProduct()
 {
     InitializeComponent();
     _logService = new LogService();
     _employeeService = new EmployeeService();
     _productService = new ProductService();
     _stockService = new StockService();
     LoadGirdLookUpStock();
     InsertSysLog();
 }
Example #25
0
        public FormReceipt()
        {
            InitializeComponent();

            _logService = new LogService();
            _receiptService = new ReceiptService();
            _productService = new ProductService();
            _receiptDetailService = new ReceiptDetailService();
            _inventoryService = new InventoryService();
        }
Example #26
0
 public FormUpdateSuppliers(string supplierId)
 {
     InitializeComponent();
     _suppliersService = new SuppliersService();
     _areaService = new AreaService();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _supplierId = supplierId;
     GetSppliersById(supplierId);
 }
Example #27
0
        public FormDepartments()
        {
            InitializeComponent();

            _logService = new LogService();
            _departmentService = new DepartmentService();
        
            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();      
        }
Example #29
0
        public FormIssue()
        {
            InitializeComponent();

            _logService = new LogService();
            _issueService = new IssueService();
            _productService = new ProductService();
            _issueDetailService = new IssueDetailService();
            _inventoryService = new InventoryService();
            _departmentService = new DepartmentService();
            _weekReportService = new WeekReportService();
        }
Example #30
0
        public FormProducts()
        {
            InitializeComponent();

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

            InsertSysLog();
        }