For exemple, I try to get the names of the enum Parity (System.IO.Ports) and add in a combobox called
comboboxparity in C#
foreach (string str in Enum.GetNames(typeof(Parity)))
{
comboboxparity.Itens.Add(str);
}
Very simple, but doen't work on Compact Framework
Suggestions??