INHERITED FORM

B

bill

vb.net app(windows app)
I have 2 forms

form1 and form2

Could someone give me some code on how I would make form2 and inherited
form(kinda like the child form)

Thanks
 
J

Java

Hi Bill,

Instead of inheriting from Form in Form2 class. Inherit from Form1 like
public class Form1 : System.Windows.Forms.Form
 
H

Herfried K. Wagner [MVP]

Hello,

bill said:
vb.net app(windows app)
I have 2 forms

form1 and form2

Could someone give me some code on how I would make
form2 and inherited form(kinda like the child form)

An inherited form is not a _child_ form. You can create an inherited form
by choosing "Add Inherited Form..." in the "Project" menu.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top