Working with Multiple Forms

By default, a Windows Application project includes a single form. However, you can add additional forms as needed, to represent the dialog boxes and other screens in your application. In an event-driven environment like Windows, each form can accept events independently; you can allow the user to have complete freedom in moving, resizing, and switching between the forms of your application. In this section, we’ll discuss managing multiple forms in your Visual Basic projects.

Adding Additional Forms to a Project

The easiest way to add an additional form to your project is to right-click the project name and display the context menu. Choose “Add Windows Form” to add a new form to the project. You can also add an existing ...

Get Special Edition Using Microsoft® Visual Basic® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.