Remove unnecessary submethod

This commit is contained in:
Kurt
2015-12-14 21:39:56 -08:00
parent d91f3ee231
commit 808e035d20

View File

@@ -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()
{