private void UpdateCollection()
 {
     TraineesCollection.Clear();
     foreach (Trainee trainee in TraineesList)
     {
         TraineesCollection.Add(trainee);
     }
 }
        //Events
        private void MyTraineeEditPage_Loaded(object sender, RoutedEventArgs e)
        {
            m_mainWin = UIFactory.GetMainWin();

            TraineesCollection.Clear();
            TraineesList = m_Ibl.GetAllTrainees();
            UpdateCollection();

            genderFilter.ComboBox.ItemsSource   = typeof(GenderEnum).GetEnumValues();
            carTypeFilter.ComboBox.ItemsSource  = typeof(CarTypeEnum).GetEnumValues();
            gearTypeFilter.ComboBox.ItemsSource = typeof(GearTypeEnum).GetEnumValues();
        }
 private void CollectAll()
 {
     TraineesCollection.Clear();
     TraineesList = m_Ibl.GetAllTrainees();
     UpdateCollection();
 }