Exemple #1
0
 //Shiny pokemon
 private void btnShinies_Click(object sender, RoutedEventArgs e)
 {
     dgMyPokemonList.Columns.Clear();
     btnAddPokemon.Visibility    = Visibility.Visible;
     btnRemovePokemon.Visibility = Visibility.Hidden;
     btnAddPokemon.IsEnabled     = true;
     btnAddPokemon.Content       = "Add Shiny Pokemon";
     btnRemovePokemon.Content    = "Remove Shiny";
     dgMyPokemonList.ItemsSource = _pokemonManager.RetrieveMyShinyPokemon(UserID);
     ResetColumns();
 }