예제 #1
0
 public CarDisplay()
 {
     InitializeComponent();
     _repository           = new CarRepository("cars.csv");
     _carsView.ItemsSource = _repository.FindAll();
 }
예제 #2
0
 private void _showAllButton_Click(object sender, RoutedEventArgs e)
 {
     _carsView.ItemsSource = _repository.FindAll();
 }