Example #1
0
        public void ChangeAmount(ItemsToOrder item, int nAmount)
        {
            item.Amount += nAmount;

            //item = new ItemsToOrder(nAmount + item.Amount, item.Item);
            OnPropertyChanged("ItemsToOrder");
        }
Example #2
0
 public void RemoveItemToOrder(ItemsToOrder item)
 {
     ItemsToOrder.Remove(item);
     OnPropertyChanged("ItemsToOrder");
 }
Example #3
0
 public void AddItemToOrder(ItemsToOrder itemToOrder)
 {
     ItemsToOrder.Add(itemToOrder);
     OnPropertyChanged("ItemsToOrder");
 }