Example #1
0
 public virtual void RemoveAccount(ItemReceiptAccount account)
 {
     if (accounts.Contains(account))
     {
         accounts.Remove(account);
         OnAccountsChanged(null);
     }
 }
Example #2
0
 public virtual void AddAccount(ItemReceiptAccount account)
 {
     account.Receipt = this;
     accounts.Insert(0, account);
     OnAccountsChanged(null);
 }