void client_GetEmployeeBalancePostWithPagingCompleted(object sender, GetEmployeeBalancePostWithPagingCompletedEventArgs e) { List<T_HR_EMPLOYEESALARYPOSTASIGN> list = new List<T_HR_EMPLOYEESALARYPOSTASIGN>(); if (e.Error != null) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error); } else { if (e.Result != null) { list = e.Result.ToList(); } DtGrid.ItemsSource = list; dataPager.PageCount = e.pageCount; } loadbar.Stop(); }
void client_GetEmployeeBalancePostWithPagingCompleted(object sender, GetEmployeeBalancePostWithPagingCompletedEventArgs e) { List <T_HR_EMPLOYEESALARYPOSTASIGN> list = new List <T_HR_EMPLOYEESALARYPOSTASIGN>(); if (e.Error != null) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error); } else { if (e.Result != null) { list = e.Result.ToList(); } DtGrid.ItemsSource = list; dataPager.PageCount = e.pageCount; } loadbar.Stop(); }