Datasheet
P1: GIG
WY006-01 WY006-Sample WY006-Sample-v3.cls January 29, 2004 17:49
Chapter 1
Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnExit.Click
'End the program and close the form
Me.Close()
End Sub
Using the Help System
The Help system included in Visual Basic .NET is an improvement over Help systems in previous
versions. As you begin to learn Visual Basic .NET, you will probably become very familiar with the Help
system. However, it is worthwhile to give you an overview, just to help speed your searches for
information.
The Help menu contains the menu items shown in Figure 1-22:
Figure 1-22
As you can see this menu contains many more entries than the typical Windows application. The main
reason for this is the vastness of the documentation. Few people could keep it all in their heads—but
luckily, that is not a problem, as you can always quickly and easily refer to the Help system. Think of it as
a safety net for your brain.
One really fantastic new feature is Dynamic Help. When you select the Dynamic Help menu item from
the Help menu, the Dynamic Help window is displayed with a list of relevant topics for whatever you
may be working on. If you followed the default installation and have not rearranged the IDE, the
Dynamic Help is displayed as a tab behind the Properties window.
Let us say, for example, that you are working with a text box (perhaps the text box in the HelloUser
application) and want to find out some information; you just select the textbox on our form or in the code
window and you can see all the help topics that pertain to text boxes, as shown in Figure 1-23
32