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