Ejemplo n.º 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;
        }
Ejemplo n.º 2
0
 protected override Uri GetPageAddress(SelectCountry category)
 {
     return(SelectTrackDialog.CountryUri(category.DisplayName));
 }
Ejemplo n.º 3
0
 protected override Uri GetPageAddress(SelectRating category)
 {
     return(category.Rating == null?SelectTrackDialog.FavouritesUri() : SelectTrackDialog.RatingUri(category.Rating.Value));
 }