protected override bool SetValid() { try { if (!GetTaxMode.GetTaxModValue()) { return(false); } if (!PopUpBox.NoIsZhu_KaiPiaoJi(GetTaxMode.GetTaxCard(), GetTaxMode.GetTaxStateInfo())) { return(ShareMethods.CheckHasDownloadAllowInvType()); } if (GetTaxMode.GetTaxCard().get_QYLX().ISTDQY) { return(false); } } catch (BaseException exception) { this.loger.Error(exception.Message); ExceptionHandler.HandleError(exception); } catch (Exception exception2) { this.loger.Error(exception2.Message); ExceptionHandler.HandleError(exception2); } return(true); }