Пример #1
0
 /// <summary>
 /// uses the getRacesData method from the RacesDatabase
 /// class in order to get the names of the races
 /// and then populates the cmdViewRaces with the names.
 /// </summary>
 private void updateRaceInfo()
 {
     cmbViewRaces.ItemsSource = null;
     db = new RacesDatabase();
     cmbViewRaces.ItemsSource = db.getRacesData();
 }