Windows app master form

aspfun

Active member
Joined
Feb 16, 2010
Messages
34
Programming Experience
5-10
Does windows app have master form the same as master page in asp.net?
With master page I can add company logo and app name only one time.
 
In Forms development such a thing is done with inheritance. You can design a "master" form, then you add inherited form using the master as base. How to: Inherit Forms Using the Inheritance Picker Dialog Box

I have to add (since I use VB Express), in VB Express this is not integrated in IDE and you'd have to add code "Inherits MasterForm" instead of the regular "Inherits Form". Do this in the forms user code and click the Error correction fix to apply the new base class.
 
Back
Top