Example #1
0
        private void CreateSaletem()
        {
            var item = new SaleItemsDetails();

            item.PropertyChanged += SaleItems_PropertyChanged;
            _saleItemsDetailsCollection.Add(item);
        }
Example #2
0
 public SaleItems()
 {
     _saleItemsDetailsCollection = new List <SaleItemsDetails>();
     for (int i = 0; i < 7; i++)
     {
         var item = new SaleItemsDetails();
         item.PropertyChanged += SaleItems_PropertyChanged;
         _saleItemsDetailsCollection.Add(item);
     }
 }