Exemple #1
0
 public void AddBasket(object sender) //장바구니에 추가
 {
     if (productCount == 0)
     {
         MessageBox.Show("수량을 선택해 주세요!", "에러", MessageBoxButton.OK, MessageBoxImage.Information);
     }
     else
     {
         MessageBox.Show("장바구니 추가!", "확인", MessageBoxButton.OK, MessageBoxImage.Information);
         bucketList = mainModel.AddBasket(searchItems, productCount);
         OnPropertyChanged("bucketList");
     }
 }