void client_GetEmployeeEvectionRecordByIDCompleted(object sender, GetEmployeeEvectionRecordByIDCompletedEventArgs e) { if (e.Error == null) { Evection = e.Result; client.GetAttendanceRecordByEmployeeIDAsync(SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeID, dpStartDate.Text, "dpStartDate"); client.GetAttendanceRecordByEmployeeIDAsync(SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeID, dpEndDate.Text, "dpEndDate"); perClient.GetEmployeeDetailByIDAsync(Evection.EMPLOYEEID); SetToolBar(); } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } }
void client_GetEmployeeEvectionRecordByIDCompleted(object sender, GetEmployeeEvectionRecordByIDCompletedEventArgs e) { if (e.Error == null) { Evection = e.Result; client.GetAttendanceRecordByEmployeeIDAsync(SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeID, dpStartDate.Text, "dpStartDate"); client.GetAttendanceRecordByEmployeeIDAsync(SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeID, dpEndDate.Text, "dpEndDate"); perClient.GetEmployeeDetailByIDAsync(Evection.EMPLOYEEID); SetToolBar(); } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } }