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.
Unfortunately, activation email could not send to your email. Please try again.

inherited form

Thread ID:

Created:

Updated:

Platform:

Replies:

4053 Apr 25,2003 06:27 AM Apr 26,2003 09:25 AM Windows Forms 2
loading
Tags: FAQ
ramez
Asked On April 25, 2003 06:27 AM

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

Ken
Replied On April 25, 2003 09:54 AM

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

ramez
Replied On April 26, 2003 09:25 AM

thanks man......

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;