0% found this document useful (0 votes)
24 views

Ongwediva Campus: Lesson 2 - Class Presentation Monday February 28, 2022

The document discusses creating a Windows Forms Application in Visual Basic.Net, including creating a new project, selecting the Windows Forms Application template, and Visual Studio generating an initial Form1 window. It describes how every window in a visual basic application is a form, and how forms contain controls that make up the user interface. It lists some common form properties that can be set or read like the form's caption and buttons to close, minimize, and maximize. It concludes with a note to try adding a Cancel button to the sample form.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Ongwediva Campus: Lesson 2 - Class Presentation Monday February 28, 2022

The document discusses creating a Windows Forms Application in Visual Basic.Net, including creating a new project, selecting the Windows Forms Application template, and Visual Studio generating an initial Form1 window. It describes how every window in a visual basic application is a form, and how forms contain controls that make up the user interface. It lists some common form properties that can be set or read like the form's caption and buttons to close, minimize, and maximize. It concludes with a note to try adding a Cancel button to the sample form.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 5

VBN70US – Visual Basic.

Net

Ongwediva campus

Lesson 2 – Class Presentation

Monday February 28th, 2022


VB.Net - Forms
• Let's start with creating a Window Forms Application by following the following
steps in Microsoft Visual Studio - File → New Project → Windows Forms
Applications
• Finally, select OK, Microsoft Visual Studio creates your project and displays
following window Form with a name Form1.
Visual Basic Form is the container for all the controls that make up the user interface. Every window you see in a running
visual basic application is a form, thus the terms form and window describe the same entity. Visual Studio creates a default
form for you when you create a Windows Forms Application.

Every form will have title bar on which the form's caption is displayed and there will be buttons to close, maximize and
minimize the form shown below −
Form Properties
Following table lists down various important properties related to a form. These properties can be set or read during application
execution. You can refer to Microsoft documentation for a complete list of properties associated with a Form control − Please
try the Form below, were you can add Cancel button:
Lesson Dissmises

You might also like