P
Peter Judge
Guest
.NET forms have collections of their contained child controls ( https://msdn.microsoft.com/en-us/library/system.windows.forms.control.controlcollection(v=vs.110).aspx) and components ( https://msdn.microsoft.com/en-us/library/system.componentmodel.componentcollection(v=vs.110).aspx) . Bronco’s suggestion about interfaces and events is a better approach though since it (a) strongly-types the kinds of interactions you expect the objects to have and (b) decouples them, allowing you to reuse the interfaces elsewhere (ie not just in the parent and child, but maybe in a helper/manager-type).
Continue reading...
Continue reading...