Try this out at home:
Create a class with a property that is a collection like List<Crap>.
Then in a win form throw in like 10 comboboxes.
When the form loads create an instance of your class(put some stuff in the collection)
Set each combo's data source to the collection
Change any combo box and they ALL CHANGE.
I don't understand. I want to load each combo with a datasource but after that I want them to act independently of one another. Creating new instances of the collection doesn't solve this. Only creating a new instance of your class will make the combos act on their own.
What am i missing here?
Create a class with a property that is a collection like List<Crap>.
Then in a win form throw in like 10 comboboxes.
When the form loads create an instance of your class(put some stuff in the collection)
Set each combo's data source to the collection
Change any combo box and they ALL CHANGE.
I don't understand. I want to load each combo with a datasource but after that I want them to act independently of one another. Creating new instances of the collection doesn't solve this. Only creating a new instance of your class will make the combos act on their own.
What am i missing here?