private void btnAuditNetPayAndSO_Click(object sender, RoutedEventArgs e) { if ((CurrentSOVM.BaseInfoVM.SOType == SOType.ElectronicCard || CurrentSOVM.BaseInfoVM.SOType == SOType.PhysicalCard) && !AuthMgr.HasFunctionPoint(AuthKeyConst.SO_SOMaintain_AuditGiftCardOrder)) { Window.Alert(ResSO.Msg_Error_RightGiftCardOrderAudit, MessageType.Error); return; } SOFacade.AuditNetPayAndSO(SOSysNo, (vm) => { CurrentSOVM = vm; SetOperationButton(); Window.Alert(ResSO.Info_SO_Processer_SO_Audit_Pass, MessageType.Information); }); }