Beispiel #1
0
 private void BuyBtnClick(ItemVM obj)
 {
     if (obj != null)
     {
         Cart.Add(obj);
     }
 }
Beispiel #2
0
 public void AddItem(ItemVM item)
 {
     if (Items == null)
     {
         Items = new ObservableCollection <ItemVM>();
     }
     Items.Add(item);
 }
Beispiel #3
0
 public void addItem(ItemVM item)
 {
     if (ItemList == null)
     {
         ItemList = new ObservableCollection <ItemVM>();
     }
     ItemList.Add(item);
 }
Beispiel #4
0
 private void AddtoCart(ItemVM obj)
 {
     Cart.Add(obj);
 }
Beispiel #5
0
 private bool BuyBtnEnabled(ItemVM arg)
 {
     return(arg != null);
 }