private void PopulateComboBox(Type enumType, ComboBox box) { box.Items.Clear(); box.Items.AddRange(Enum.GetNames(enumType)); }