private void LoadColors()
{
//create a generic list of strings
//Dim colors As New List(Of String)()
//get the color names from the Known color enum
string[] colorNames = Enum.GetNames(typeof(KnownColor));
//iterate thru each string in the colorNames array
foreach (string colorName in colorNames)
{
//cast the colorName into a KnownColor
//KnownColor. knownColor;// = (KnownColor)Enum.Parse(typeof(KnownColor), colorName);
//check if the knownColor variable is a System color
//if (knownColor > knownColor.)
//{
//add it to our list
cboForeColor.Items.Add(colorName);
cboBackColor.Items.Add(colorName);
//}
}
//return the color list
cboForeColor.Text = "Black";
cboBackColor.Text = "White";
}