mparker1113
05-11-2007, 02:35 PM
Hi,
I have a combobox that is being loaded by
foreach( string colorName in Enum.GetNames(typeof(KnownColor))
{
cmboBox.Add(colorName.Items.Add(colorName)
}
What i would like to do is to pring out the colors names in the color that they represent.
Any ideas?
I have a combobox that is being loaded by
foreach( string colorName in Enum.GetNames(typeof(KnownColor))
{
cmboBox.Add(colorName.Items.Add(colorName)
}
What i would like to do is to pring out the colors names in the color that they represent.
Any ideas?