void client_ImportClockInRdListFromExcelForShowCompleted(object sender, ImportClockInRdListFromExcelForShowCompletedEventArgs e) { RefreshUI(RefreshedTypes.HideProgressBar); if (e.Error == null) { if (!string.IsNullOrEmpty(e.strMsg)) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"), e.strMsg, Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation); return; } if (e.Result != null) { ListPensions = e.Result; this.LoadData(ListPensions.ToList()); } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"), "没有导入的数据", Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation); return; } } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"), "导入员工社保记录失败", Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation); return; } //throw new NotImplementedException(); }