Ejemplo n.º 1
0
        void LinkToChampionship_Click(object sender, RoutedEventArgs e)
        {
            Hyperlink        h  = (sender as Hyperlink);
            object           o  = h.DataContext;
            Championship     c  = o as Championship;
            int              i  = c.Code;
            ChampionshipPage cp = new ChampionshipPage(i);
            ChampionshipPage p  = new ChampionshipPage(((sender as Hyperlink).DataContext as Championship).Code);

            frame.Navigate(p);
        }
Ejemplo n.º 2
0
        private void LinkToChampionship_Click(object sender, RoutedEventArgs e)
        {
            ChampionshipPage p = new ChampionshipPage(((sender as Hyperlink).DataContext as Championship).Code);

            NavigationService.Navigate(p);
        }