RobinPerris / DarkUI

Dark themed control and docking library for .NET WinForms.
MIT License
834 stars 185 forks source link

Combobox does not honor 'Displaymember' #46

Open SupremeC opened 3 years ago

SupremeC commented 3 years ago

When the ComboBox has its DisplayMember property set to access a specific property of the displayed items, ToString() may not give the expected text. The fix for this is to use;

GetItemText(Items[e.Index])

Two methods in class 'DarkComboBox' needs to be updated;