예제 #1
0
 //Alternate Versions
 private void btnAlternate_Click(object sender, RoutedEventArgs e)
 {
     dgMyPokemonList.Columns.Clear();
     btnAddPokemon.IsEnabled     = true;
     btnAddPokemon.Visibility    = Visibility.Visible;
     btnRemovePokemon.Visibility = Visibility.Hidden;
     btnAddPokemon.Content       = "Add Alternate Version";
     btnRemovePokemon.Content    = "Remove Alternate";
     dgMyPokemonList.ItemsSource = _pokemonManager.RetrieveMyAlternatePokemon(UserID);
     ResetColumns();
 }