I have been trying to find out how to bind data to a
System.Windows.Forms.DomainUpDown()
control.
Currently I have only come up with:
private void Init()
{
List<string> list = new List<string>();
list = get4000Strings(); //4000 items
foreach (string item in list)
{
domainUpDown1.Items.Add(item);
}
}
private List<string> get4000Strings()
{
List<string> l = new List<string>();
for (int i = 0; i < 4000; i++)
{
l.Add(i.ToString());
}
return l;
}