Look at Microsoft's Component UI Application Block
http://msdn.microsoft.com/en-us/library/cc540687.aspx>I am designing an app that looks something like this:
http://www.componentfactory.com/windows-forms-tabcontrol.php>
>The area under "Family" will contain various types of lists of data, and possibly other controls. To facilitate this I am creating Panes with the grids or controls on them that I want to display, which is determined by what the user clicks on the left side. When the user clicks an item in the left side area, I will remove the current pane and add the selected pane, then load it with any data required.
>
>When the user takes action in the top pane, I want to load the lower pane, so again, remove the lower pane, add the selected pane.
>
>The question is this... How do I manage all of this, meaning, the panes have to be able to commicate with the form, which I could do via an event, but how do I code this if the controls are being added/removed at runtime?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer