Click here to Skip to main content
15,867,835 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
hi , i have a form , panel , tool bar and search text Box , and i want to make them like a master page ( its not asp.net projects ) its windowsform application , when user clik to some thing the the contetnplace holder change but the master page content dont change .
its possible?

example ur web browser , at the top u see tool bars , navigation bar ,,,, etc , and down u see web page , how ?
Posted
Comments
Sergey Alexandrovich Kryukov 21-Mar-13 2:46am    
Did you try anything?
Are you comfortable with writing classes, setting events, etc.? If you are, such framework would be trivial.
—SA

1 solution

You can create a form or panel class with some common controls and the empty panel designed for a class user to put custom ("content") controls to it. The idea is very simple, but such collaboration between common controls (analog of master page) and custom part (analog of content page) needs thorough design.

However, the idea is trivial: you can expose properties and events of those common controls to the user of the class, so the user can couple events of both parts in some custom way, separately for each instance of the class.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900