Load and Unload Forms in VB.NET

How to load and unload forms in VB.NET?

Explanation

Show Hide Forms

Forms in VB.net 2008 are loaded and unloaded using two different statements.To load a form the Load statement is used and to unload a form Unload statement is used.
Load Method:

This method is used to load a form into the memory, but will not display the form.
Syntax:

Load FormName
UnLoad Method:

This statement is used to unload a form from the memory.
Syntax:

UnLoad FormName

Visual Basic Tutorial


Ask Questions

Ask Question