Ejemplo n.º 1
0
        /* SUBMENU */

        private void TeamEdit_Click(object sender, RoutedEventArgs e)
        {
            CollapseAllGrids();
            TeamEditGrid.Visibility = Visibility.Visible;
            Team team = CurrentTournament.FindTeam((string)((Button)sender).Tag);

            Edit_TeamName.Text          = team.Name;
            PlayersListView.ItemsSource = team.listPlayers;

            PlayerCreateButton.Tag = team.Name;
            TeamEditButton.Tag     = team.Name;
        }