Chapter 2 Writing Your First Program 41
- Click the Toolbox tab to display the Toolbox window in the IDE.
The Toolbox contains all the controls that you’ll use to build Visual Basic programs in
this book. The controls suitable for creating a Windows application are visible now
because you selected the Windows Application project type earlier. Controls are
organized by type, and by default the Common Controls category is visible. (If the
Toolbox is not visible now, click Toolbox on the View menu to display it .)
- Double-click the Button control in the Toolbox, and then move the mouse pointer away
from the Toolbox.
Visual Studio creates a default-sized button object on the form and hides the Toolbox,
as shown here: