Example #1
0
        private void OnRoundTrackClick(object sender, MouseButtonEventArgs e)
        {
            if (e.Handled)
            {
                return;
            }
            var round = ((FrameworkElement)sender).DataContext as UserChampionshipRoundExtended;

            if (round == null)
            {
                return;
            }
            round.Track = SelectTrackDialog.Show(round.Track);
            e.Handled   = true;
        }
 protected override Uri GetPageAddress(SelectCountry category)
 {
     return(SelectTrackDialog.CountryUri(category.DisplayName));
 }
Example #3
0
 protected override Uri GetPageAddress(SelectRating category)
 {
     return(category.Rating == null?SelectTrackDialog.FavouritesUri() : SelectTrackDialog.RatingUri(category.Rating.Value));
 }