コード例 #1
0
        public void InsertChange(double value)
        {
            Pay.Insert(value);

            if (Pay.Inserted >= Total)
            {
                repo.UpdateQuantity(SelectedProducts);
            }

            NotifyOfPropertyChange(() => Total);
            NotifyOfPropertyChange(() => Basket);
            NotifyOfPropertyChange(() => CalculateChange);
        }