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; }
private void frmAddTimeInOut_Load(object sender, System.EventArgs e) { Refresh(); timeInOutDO = new TimeInOutDO(); CheckStatus(); }