Ejemplo n.º 1
0
        public void LoadSaleData(string saleFilename)
        {
            this.saleFilename = saleFilename;
            sales             = new ObservableCollection <Sale>(dataAccess.ReadSalesFromFile(this.saleFilename));
            OnPropertyChanged("Sales");

            if (SalesUpdated != null)
            {
                SalesUpdated(sales);
            }
        }