PKHeX/PKHeX.WinForms/Controls
Kurt f47382e34f Fix GetUnderlyingControl call from ContextMenuStrip
https://projectpokemon.org/home/forums/topic/55096-unhandled-exception-error-pkmdb/?tab=comments#comment-249235
had recently moved the contextmenu to the designer, event handler has
sender as the ContextMenuStrip

use recursion -> while loop so that the input can be any of the 3 cases;
it'll drill down until it gets a picturebox or none.
make generic for giggles, update usages so Array.IndexOf uses
picturebox[] instead of object[]
2019-09-24 18:14:15 -07:00
..
PKM Editor Add swsh content placeholders (#2392) 2019-09-23 16:56:47 -07:00
SAV Editor Fix GetUnderlyingControl call from ContextMenuStrip 2019-09-24 18:14:15 -07:00