Forms in Visual Basic

All of the programs we have written so far used just one form. In this lesson we will look at several examples using more than one form.

FrmMainCustomized Input Boxes

Occasionally, an input box or message box is not exactly what we need for our application. This program will create a customized dialog box for a user to select the days of the week that they are available for a meeting.
1. Start a new Windows application named meetings.
2. Name the form frmMain.
3. Build the form as shown below, with a button BtnDays and a label LblDays. 4. You may want to select a background color for each form so that you can easily see the difference.
5. From the menu select Project, Add Windows Form…Select Windows form from the pop up. Type FrmDays as the name of the new form.

FrmDays

NEXT: Form to Select Days