From 808e035d20e5ebb8b3dd3e3401cfb52019a8cbf5 Mon Sep 17 00:00:00 2001 From: Kurt Date: Mon, 14 Dec 2015 21:39:56 -0800 Subject: [PATCH] Remove unnecessary submethod --- PKX/f3-MemoryAmie.cs | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/PKX/f3-MemoryAmie.cs b/PKX/f3-MemoryAmie.cs index 44430ea57..75bfe35e9 100644 --- a/PKX/f3-MemoryAmie.cs +++ b/PKX/f3-MemoryAmie.cs @@ -42,8 +42,13 @@ public partial class MemoryAmie : Form past = "Past Gen"; withOT = "Memories with"; } - - getCountries(); + ComboBox[] cba = { CB_Country0, CB_Country1, CB_Country2, CB_Country3, CB_Country4, }; + foreach (ComboBox comboBox in cba) + { + comboBox.DisplayMember = "Text"; + comboBox.ValueMember = "Value"; + Main.setCountrySubRegion(comboBox, "countries"); + } getLangStrings(); loadFields(); } @@ -182,16 +187,6 @@ private void B_Cancel_Click(object sender, EventArgs e) Close(); } // Button: Cancel pressed. - private void getCountries() - { - ComboBox[] cba = { CB_Country0, CB_Country1, CB_Country2, CB_Country3, CB_Country4, }; - foreach (ComboBox comboBox in cba) - { - comboBox.DisplayMember = "Text"; - comboBox.ValueMember = "Value"; - Main.setCountrySubRegion(comboBox, "countries"); - } - } private void getLangStrings() {