コード例 #1
0
 //Regional Variants
 private void btnRegionalVariants_Click(object sender, RoutedEventArgs e)
 {
     dgMyPokemonList.Columns.Clear();
     btnAddPokemon.Visibility    = Visibility.Visible;
     btnRemovePokemon.Visibility = Visibility.Hidden;
     btnAddPokemon.IsEnabled     = true;
     btnAddPokemon.Content       = "Add Regional Variant";
     btnRemovePokemon.Content    = "Remove Regional";
     dgMyPokemonList.ItemsSource = _pokemonManager.RetrieveMyRegionalPokemon(UserID);
     ResetColumns();
 }