Пример #1
0
 private void frmChangeTimeInOut_Load(object sender, System.EventArgs e)
 {
     Refresh();
     timeInOutDO = new TimeInOutDO();
     employeeDO = new EmployeeDO();
     DepartmentDO departmentDO = new DepartmentDO();
     departmentTreeView.DepartmentDataSet = departmentDO.GetAllDepartments();
     departmentTreeView.BuildTree();
     departmentTreeView.SelectedNode = departmentTreeView.TopNode;
 }
Пример #2
0
 private void frmAddTimeInOut_Load(object sender, System.EventArgs e)
 {
     Refresh();
     timeInOutDO = new TimeInOutDO();
     CheckStatus();
 }