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