Esempio n. 1
0
 public ViewModel()
 {
     if (RaceCombinations == null)
     {
         RaceCombinations = new BetterObservableCollection <RaceCombination>();
     }
     CurrentRaceCombination = new RaceCombination();
 }
Esempio n. 2
0
            public void OnTrackAccessed(object sender, AcCompatibleApiBridge.AcItemAccessedEventArgs e)
            {
                var track = TracksManager.Instance.GetLayoutById(e.Id);

                if (CurrentRaceCombination.Track != track)
                {
                    CurrentRaceCombination = new RaceCombination {
                        Track = track
                    };
                    CommitIfPossible();
                }
            }
Esempio n. 3
0
 public void OnPageStart(object sender, EventArgs e)
 {
     MakingNewList          = true;
     CurrentRaceCombination = new RaceCombination();
 }