Example #1
0
 private void TransactionEditor_TransactionUpdated(object sender, TransactionUpdatedEventArgs e)
 {
     if (this.transactionIsNew)
     {
         this.TransactionCreated?.Invoke(this, new TransactionCreatedEventArgs(e.NewTransaction));
     }
     else
     {
         this.TransactionUpdated?.Invoke(this, e);
     }
 }
Example #2
0
 private void transactionEditor_TransactionUpdated(object sender, TransactionUpdatedEventArgs e)
 {
     if (this.transactionIsNew)
     {
         this.TransactionCreated.SafeInvoke(this, new TransactionCreatedEventArgs(e.NewTransaction));
     }
     else
     {
         this.TransactionUpdated.SafeInvoke(this, e);
     }
 }
Example #3
0
 private void AccountRegister_TransactionUpdated(object sender, UI.TransactionUpdatedEventArgs e)
 {
     this.owner.UpdateTransaction(e.OldTransaction, e.NewTransaction);
 }