Example #1
0
 public FormAddManager()
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _departmentService = new DepartmentService();
     _logService = new LogService();
 }
Example #2
0
 public FormAddDepartment()
 {
     InitializeComponent();
     _departmentService = new DepartmentService();
     txtDepartmentID.Text = _departmentService.NextId();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Example #3
0
 public FormEmployees()
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _departmentService = new DepartmentService();
     InsertSysLog();
 }
Example #4
0
 public FormUpdateEmployee(string employeeId)
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _departmentService=new DepartmentService();
     _logService = new LogService();
     _employeeId = employeeId;
     GetEmployeesById(employeeId);
 }
Example #5
0
 public FormUpdateDepartment(string departmentId)
 {
     InitializeComponent();
     _departmentService = new DepartmentService();
     _departmentId = departmentId;
     GetDepartmentById(departmentId);
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Example #6
0
        public FormReports()
        {
            
            InitializeComponent();

            _weekReportService = new WeekReportService();
            _departmentService = new DepartmentService();
            _inventoryService = new InventoryService();
        }
        public FormInsertOrUpdateDepartment(string departmentId)
        {
            InitializeComponent();

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

            _departmentId = departmentId;
        }
Example #8
0
        public FormDepartments()
        {
            InitializeComponent();

            _logService = new LogService();
            _departmentService = new DepartmentService();
        
            InsertSysLog();
            EnableButtonUpdateAndDelete(false);
        }
Example #9
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();
        }
 public FormImportDepartmentFormExel()
 {
     InitializeComponent();
     _departmentService = new DepartmentService();
 }
 public FormImportEmployeeFormExcel()
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _departmentService = new DepartmentService();
 }