} // end () private void PopulateSectionComboBox(string iniPath) { MOG_Ini ini = new MOG_Ini(iniPath); int sectionCount = ini.CountSections(); // If we are repopulating, clear our old items if (this.SectionComboBox.Items.Count > 0) { this.SectionComboBox.Items.Clear(); } for (int i = 0; i < sectionCount; ++i) { this.SectionComboBox.Items.Add(ini.GetSectionByIndexSLOW(i)); } SectionComboBox.Text = mSelectedSection; }