Example #1
0
        private void LinkToSecondCountry_Click(object sender, RoutedEventArgs e)
        {
            CountryPage p = new CountryPage(((sender as Hyperlink).DataContext as Player).Info.SecondNation.Code);

            NavigationService.Navigate(p);
        }
Example #2
0
        private void LinkToCountry_Click(object sender, RoutedEventArgs e)
        {
            CountryPage p = new CountryPage(((sender as Hyperlink).DataContext as Championship).Country.Code);

            NavigationService.Navigate(p);
        }
Example #3
0
        void LinkToCountry_Click(object sender, RoutedEventArgs e)
        {
            CountryPage p = new CountryPage(((sender as Hyperlink).DataContext as Country).Code);

            frame.Navigate(p);
        }