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

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