[progress Communities] [progress Openedge Abl] Forum Post: Re: How To Organize Parent And...

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
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...
 
Status
Not open for further replies.
Back
Top