Al Programming
Free source code programming in C#, VB.Net, Java, SQL
Search This Blog
Tuesday, March 4, 2014
#Region Directive Visual Basic Example
Visual Basic > Directives >
#Region
Collapses and hides sections of code.
Example:
Public
Class
Form1
#Region
"Person"
Public
Class
Person
End
Class
#End
Region
Private
Sub
Form1_Load(sender
As
Object
, e
As
EventArgs
)
Handles
MyBase
.Load
End
Sub
End
Class
Newer Post
Older Post
Home