Using Enum with ComboBox and setting Combobox value – VB.net

This is my take on setting a combobox to use an enum which has both a description and key value set. It also shows how this works when trying to assign a value to the combobox. Enum MyLogEnum Error = 1 Warning = 2 Information = 3 End Enum ComboBox_LogLevel.DataSource = System.Enum.GetValues(GetType(MyLogEnum)) And to assign
Continue reading Using Enum with ComboBox and setting Combobox value – VB.net