void client_BatchAddPensionDetailCompleted(object sender, BatchAddPensionDetailCompletedEventArgs e) { RefreshUI(RefreshedTypes.HideProgressBar); if (e.Error == null) { if (e.Result) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"), "社保导入成功", Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation); //return; } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"), "社保导入失败", Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation); //return; } if (!string.IsNullOrEmpty(e.StrMsg)) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"), e.StrMsg, Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation); return; } } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"), "社保导入失败,请联系管理员", Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation); return; } }
void client_BatchAddPensionDetailCompleted(object sender, BatchAddPensionDetailCompletedEventArgs e) { RefreshUI(RefreshedTypes.HideProgressBar); if (e.Error == null) { if (e.Result) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"), "社保导入成功", Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation); //return; } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"), "社保导入失败", Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation); //return; } if (!string.IsNullOrEmpty(e.StrMsg)) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"), e.StrMsg, Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation); return; } } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"), "社保导入失败,请联系管理员", Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation); return; } }