You can use the BindingSource component to perform two-way databinding with a KeyedCollection. Once you've created your derived KeyedCollection, make sure you've built the project, then add a BindingSource to your form, and in its DataSource property dropdown click the "Add Project DataSource" link, choose "Object" from the first wizard page, then select your KeyedCollection class on the next page. Then bind your controls to the BindingSource and you will have two-way data-binding to the collection.
If you need any extra help with that, let me know and I can provide an example.
|