Esempio n. 1
0
 public FormAddManager()
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _departmentService = new DepartmentService();
     _logService = new LogService();
 }
Esempio n. 2
0
 public FormAddDepartment()
 {
     InitializeComponent();
     _departmentService = new DepartmentService();
     txtDepartmentID.Text = _departmentService.NextId();
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Esempio n. 3
0
 public FormEmployees()
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _logService = new LogService();
     _departmentService = new DepartmentService();
     InsertSysLog();
 }
Esempio n. 4
0
 public FormUpdateEmployee(string employeeId)
 {
     InitializeComponent();
     _employeeService = new EmployeeService();
     _departmentService=new DepartmentService();
     _logService = new LogService();
     _employeeId = employeeId;
     GetEmployeesById(employeeId);
 }
Esempio n. 5
0
 public FormUpdateDepartment(string departmentId)
 {
     InitializeComponent();
     _departmentService = new DepartmentService();
     _departmentId = departmentId;
     GetDepartmentById(departmentId);
     _logService = new LogService();
     _employeeService = new EmployeeService();
 }
Esempio n. 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;
        }
Esempio n. 8
0
        public FormDepartments()
        {
            InitializeComponent();

            _logService = new LogService();
            _departmentService = new DepartmentService();
        
            InsertSysLog();
            EnableButtonUpdateAndDelete(false);
        }
Esempio n. 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();
 }