private void Init() { OutputWin.AppendText("\t\t\t~ProShine Script Creator~" + Environment.NewLine); OutputWin.AppendText("\t\thttps://proshine-bot.com/thread-2950.html" + Environment.NewLine); foreach (var abiName in AbilitiesNames.AbilitiesNamesArray) { AbilitiesName.Items.Add(abiName); } foreach (var pokeName in PokemonNames.PokemonNamesArray) { PokeBox.Items.Add(pokeName); } ///add kanto maps first MapsSorted.Clear(); MapsBox.Items.Clear(); foreach (var mapName in MapNames.KantoMaps) { MapsSorted.Add(mapName); } MapsSorted.Sort(); foreach (var map in MapsSorted) { MapsBox.Items.Add(map); } RegionBox.Items.Add("Kanto"); RegionBox.Items.Add("Johto"); RegionBox.Items.Add("Hoenn"); RegionBox.Items.Add("Sinnoh"); RegionBox.Items.Add("Sevii Islands"); RegionBox.Items.Add("Event Maps"); RegionBox.SelectedIndex = 0; MapsBox.SelectedIndex = 0; }
private void Print(string msg) { OutputWin.AppendText("PSC: " + msg + Environment.NewLine); OutputWin.ScrollToEnd(); }