void BenefitsAdministration_UpdateWelfarePaymentWithdrawalCompleted(object sender, UpdateWelfarePaymentWithdrawalCompletedEventArgs e)//修改福利发放撤销 { try { RefreshUI(RefreshedTypes.HideProgressBar); if (e.Error != null && e.Error.Message != "") { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message); } else { if (e.Result != "") { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Result)); return; } if (e.UserState.ToString() == "Edit") { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("UPDATESUCCESSED", "WELFAREPAYMENTWITHDRAWAL")); if (GlobalFunction.IsSaveAndClose(refreshType)) { RefreshUI(refreshType); } } else if (e.UserState.ToString() == "Audit") { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("AUDITSUCCESSED", "WELFAREPAYMENTWITHDRAWAL")); } else if (e.UserState.ToString() == "Submit") { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("SUBMITSUCCESSED", "WELFAREPAYMENTWITHDRAWAL")); } RefreshUI(RefreshedTypes.All); } } catch (Exception ex) { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.ToString()); } }
void BenefitsAdministration_UpdateWelfarePaymentWithdrawalCompleted(object sender, UpdateWelfarePaymentWithdrawalCompletedEventArgs e)//修改福利发放撤销 { try { RefreshUI(RefreshedTypes.HideProgressBar); if (e.Error != null && e.Error.Message != "") { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message); } else { if (e.Result != "") { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Result)); return; } if (e.UserState.ToString() == "Edit") { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("UPDATESUCCESSED", "WELFAREPAYMENTWITHDRAWAL")); if (GlobalFunction.IsSaveAndClose(refreshType)) { RefreshUI(refreshType); } } else if (e.UserState.ToString() == "Audit") { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("AUDITSUCCESSED", "WELFAREPAYMENTWITHDRAWAL")); } else if (e.UserState.ToString() == "Submit") { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("SUBMITSUCCESSED", "WELFAREPAYMENTWITHDRAWAL")); } RefreshUI(RefreshedTypes.All); } } catch (Exception ex) { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.ToString()); } }