Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: Windows Masterpage
hi , i have a form , panel , tool bar and search text Box , and i want to make them like a master page ( its not 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 20-Mar-13 21:37pm
Sergey Alexandrovich Kryukov at 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.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

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

  Print Answers RSS
0 OriginalGriff 375
1 Afzaal Ahmad Zeeshan 125
2 Zoltán Zörgő 120
3 DamithSL 100
4 Peter Leow 95
0 enhzflep 40
1 Richard Deeming 25
2 OriginalGriff 10
3 Anddos 10
4 Kornfeld Eliyahu Peter 10

Advertise | Privacy | Mobile
Web03 | 2.8.150224.1 | Last Updated 21 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100