Message 1 of 3
Not applicable
02-23-2016
03:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Everybody!
I am starting to create some forms.
I would like to fill a combobox quth any information (see code below)
Window1 w = new Window1();
for (int i = 1; i==5; i++)
{
string s = i.ToString();
w.combobox1.Items.Add(s);
}
w.ShowDialog();
TaskDialog.Show("test","Selected number is " + w.combobox1.SelectedItem);the combobox shoul receive a lis of numbers from 1 to 5, buy I do not why it is empty.
Any help?
thanks in advance and sorry if my question is stupid
Solved! Go to Solution.