void client_LeftOfficeConfirmPagingCompleted(object sender, LeftOfficeConfirmPagingCompletedEventArgs e) { List<T_HR_LEFTOFFICECONFIRM> list = new List<T_HR_LEFTOFFICECONFIRM>(); if (e.Error != null && e.Error.Message != "") { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } else { if (e.Result != null) { list = e.Result.ToList(); } DtGrid.ItemsSource = list; dataPager.PageCount = e.pageCount; } ToolBar.btnRefresh.IsEnabled = true; loadbar.Stop(); }
void client_LeftOfficeConfirmPagingCompleted(object sender, LeftOfficeConfirmPagingCompletedEventArgs e) { List <T_HR_LEFTOFFICECONFIRM> list = new List <T_HR_LEFTOFFICECONFIRM>(); if (e.Error != null && e.Error.Message != "") { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } else { if (e.Result != null) { list = e.Result.ToList(); } DtGrid.ItemsSource = list; dataPager.PageCount = e.pageCount; } ToolBar.btnRefresh.IsEnabled = true; loadbar.Stop(); }