Answer the question
In order to leave comments, you need to log in
How to pass the contents of duplicated comboboxes to an array?
I have a form with a flowLayoutPanel that is looped through with usercontrol. There is a combobox on the usercontol. The question is, how do I get the contents of all comboboxes into an array?
Added:
UserControl
Form
Answer the question
In order to leave comments, you need to log in
Make a method in UserControl that will return a list of combobox elements. Then go through all the UserControls in the floatLayout and read their list of elements, adding everything to the stringlist along the way (or to an array, but a sheet is preferable).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question