Example #1
0
        private void Hyperlink_Click(object sender, RoutedEventArgs e)
        {
            //ClubPage p = new ClubPage(DataBase.GetClubs("[Полное название] = '" + (sender as Hyperlink).TargetName + "'")[0].Code);
            ClubPage p = new ClubPage((this.DataContext as Player).Info.Club.Code);

            NavigationService.Navigate(p);
        }
Example #2
0
        private void LinkToClub_Click(object sender, RoutedEventArgs e)
        {
            ClubPage p = new ClubPage(((sender as Hyperlink).DataContext as Club).Code);

            NavigationService.Navigate(p);
        }