void client_GetMenuSignAutoEmployeeSalaryRecordPagingsCompleted(object sender, GetMenuSignAutoEmployeeSalaryRecordPagingsCompletedEventArgs e) { //if (hisSign) //{ // TextBox txtName = Utility.FindChildControl<TextBox>(expander, "txtName"); // if (txtName != null) // { // txtName.Text = SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeName; // hisSign = false; // } //} if (e.Error == null) { if (e.Result != null) { list = e.Result.ToList(); for (int i = 0; i < list.Count; i++) { list[i].ACTUALLYPAY = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(list[i].ACTUALLYPAY); } DtGrid.ItemsSource = list; dataPager.PageCount = e.pageCount; } else { list = null; } LoadAutoData(); } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error); //Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); loadbar.Stop(); } }