We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

inherited form

i have a standerd form and i want all my new forms to be like it....... how can i do that

2 Replies

KE Ken April 25, 2003 01:54 PM UTC

I can answer for Windows forms in VB.NET... When you add the form to your project, add it as an inherited form. Your base form should automatically appear on the list of components to inherit from. Or, in the code you just specify that the form should inherit from your base form rather than System.Windows.Forms.Form. For example: Public Class MyForm Inherits MyProject.MyBaseForm instead of Public Class MyForm Inherits System.Windows.Forms.Form HTH, Ken


RA ramez April 26, 2003 01:25 PM UTC

thanks man......

Loader.
Live Chat Icon For mobile
Up arrow icon