Add forms to the project in VB.NET

In this article we will see how to add forms to a windows application project
  • 3227
 

There are two different ways to add a form to your project.

1. For creating forms that are inherited from the form class

Right click on "solution explorer" and select add-->new item.

1.gif

Then select "Windows Forms" from the categories pane and select "Windows Form" from the templates pane.

2.gif

2. For creating forms that are inherited from the already created form

Right click on "solution explorer" and select add-->new item.

3.gif

Then select "Windows Forms" from the categories pane and select "Inherited Form" from the templates pane.

4.gif

A dialog box appears to select the form to be inherited.

5.gif

All the above methods can also be accomplished from the projects menu.

6.gif

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.