Exemple #1
0
 public virtual void RemoveItem(ItemReceiptItem item)
 {
     if (items.Contains(item))
     {
         items.Remove(item);
         OnItemsChanged(null);
     }
 }
Exemple #2
0
 public virtual void AddItem(ItemReceiptItem item)
 {
     item.Receipt = this;
     items.Insert(0, item);
     OnItemsChanged(null);
 }