Esempio n. 1
0
 //On load
 private void dgMyPokemonList_Loaded(object sender, RoutedEventArgs e)
 {
     btnAddPokemon.Visibility    = Visibility.Visible;
     btnRemovePokemon.Visibility = Visibility.Hidden;
     dgMyPokemonList.ItemsSource = _pokemonManager.RetrieveMyPokemon(UserID);
     ResetColumns();
 }