public bool Void() { if ((State = DonationTransactionState.Void) == DonationTransactionState.Void) { if (!AutoDonate.CMOptions.ShowHistory) { Hidden = true; } DonationEvents.InvokeTransVoided(this); return(true); } return(false); }
public bool Void() { if (State == TransactionState.Voided) { return(true); } if ((State = TransactionState.Voided) == TransactionState.Voided) { ++Version; DonationEvents.InvokeTransVoided(this); LogToFile(); return(true); } return(false); }