|
-
Jan 24th, 2007, 09:40 AM
#1
Thread Starter
Member
Spine referencing Parent Form
I have a project with a user control spine down the left hand side of MainForm. The MainForm contains a panel (pnlContent) that displays multiple usercontrols. (ConsumerView, ReportView..) When I click on, we'll say Consumers in the spine, I want ConsumerView to be loaded onto the panel in the mainform. But my problem is that I am unable to access pnlContent. Ive tried this.Parent.Controls, but I am still not able to access pnlContent. Is there a trick to this that I am not understanding? Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|