public MoveListComboBox(string game) { Game gameEnum = PKMN.StringToGame(game); StringList moves = Database.Lists.MoveNameList(gameEnum); foreach (string move in moves) { this.Items.Add(move); } }
public ItemListComboBox(string game) { Game gameEnum = PKMN.StringToGame(game); StringList items = Database.Lists.ItemNameList(gameEnum); foreach (string item in items) { this.Items.Add(item); } }
public LocationListComboBox(string game, bool wholeGeneration) { Game gameEnum = PKMN.StringToGame(game); StringList locations = Database.Lists.LocationNameList(gameEnum, wholeGeneration); foreach (string location in locations) { this.Items.Add(location); } }
public TypeListComboBox(string game) { Game gameEnum = PKMN.StringToGame(game); StringList types = Database.Lists.TypeNameList(gameEnum); foreach (string type in types) { this.Items.Add(type); } }