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