コード例 #1
0
 /// <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));
     }
 }
コード例 #2
0
 /// <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));
     }
 }