/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void clientAtt_GetAttendanceDeductDetailRdListByMultSearchCompleted(object sender, GetAttendanceDeductDetailRdListByMultSearchCompletedEventArgs e) { if (e.Error == null) { IEnumerable<T_HR_ATTENDANCEDEDUCTDETAIL> entlist = e.Result; dgDeductDetailList.ItemsSource = entlist; dataPager.PageCount = e.pageCount; } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void clientAtt_GetAttendanceDeductDetailRdListByMultSearchCompleted(object sender, GetAttendanceDeductDetailRdListByMultSearchCompletedEventArgs e) { if (e.Error == null) { IEnumerable <T_HR_ATTENDANCEDEDUCTDETAIL> entlist = e.Result; dgDeductDetailList.ItemsSource = entlist; dataPager.PageCount = e.pageCount; } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } }