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

inherited form

Thread ID:





4053 Apr 25,2003 10:27 AM UTC Apr 26,2003 01:25 PM UTC WinForms 2
Tags: FAQ
Asked On April 25, 2003 10:27 AM UTC

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

Replied On 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

Replied On April 26, 2003 01:25 PM UTC

thanks man......


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon