private void AfterLoaded(object sender, MouseEventArgs e)
 {
     if (!loaded2)
     {
         if (mode == SendPokemonModes.SendFrom)
         {
             pokeBoxControl.Mode = PokeBoxControlModes.Custom;
             pokeBoxControl.CanChangePickupMode = true;
             pokeBoxControl.IsPickupMode        = true;
             pokeBoxControl.IsSummaryMode       = true;
         }
         else if (mode == SendPokemonModes.SendTo)
         {
             pokeBoxControl.Mode = PokeBoxControlModes.Custom;
             pokeBoxControl.CanChangePickupMode = true;
             pokeBoxControl.IsPickupMode        = true;
             pokeBoxControl.IsSummaryMode       = true;
             PokeManager.PickupPokemon(pokemon, pokeBoxControl);
         }
         else if (mode == SendPokemonModes.GiveItem)
         {
             pokeBoxControl.Mode = PokeBoxControlModes.Custom;
             pokeBoxControl.CanChangePickupMode = true;
             pokeBoxControl.IsPickupMode        = true;
             pokeBoxControl.IsSummaryMode       = true;
         }
         else if (mode == SendPokemonModes.SendMulti)
         {
             pokeBoxControl.Mode = PokeBoxControlModes.Custom;
             pokeBoxControl.CanChangePickupMode = true;
             pokeBoxControl.IsPickupMode        = true;
             pokeBoxControl.IsSummaryMode       = true;
             PokeManager.PickupSelection(pokeBoxControl);
         }
         else if (mode == SendPokemonModes.SelectPokemon)
         {
             pokeBoxControl.Mode = PokeBoxControlModes.Custom;
             pokeBoxControl.CanChangePickupMode = true;
             pokeBoxControl.IsPickupMode        = true;
             pokeBoxControl.IsSummaryMode       = true;
             PokeManager.PickupSelection(pokeBoxControl);
         }
         loaded2 = true;
     }
 }