예제 #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);
        }
예제 #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);
        }
예제 #3
0
        void LinkToCountry_Click(object sender, RoutedEventArgs e)
        {
            CountryPage p = new CountryPage(((sender as Hyperlink).DataContext as Country).Code);

            frame.Navigate(p);
        }