|
Free
computer Tutorials
|
![]() |
home |
Stay
at Home and Learn
|
|||||||
Adding Controls Using the Toolbox |
||||||||
|
Adding a Control to a Form
Things like buttons, textboxes, and labels are all things that you can add to your Forms. They are know as Controls, and are kept in the Toolbox for ease of use. The Toolbox can be found on the left of the screen. In the picture below, you can see the toolbox icon next to Form1:
To display all the tools, move your mouse over the toolbox icon. You'll see the following automatically appear:
There are five categories of tools available: Data, Components, Windows Forms, Clipboard Ring, and General. The toolbox you'll be working with is the Windows Forms toolbox. To see the tools, click on the words "Windows Forms". You'll see a long list of tools: |
|||||||
|
|
|
|||||||
| As you can see, there are an awful
lot of tools to choose from! Click the black arrow, and scroll down to see
even more. For this first section, we'll only be using the ones at the top:
the Button, the TextBox and the Label.
If you want to keep the toolbox displayed, click the Pin icon next to the X. To close the toolbox, simply move your mouse away. In the next part, we'll see how to add a textbox to the form.
<-- Back One Page Move on to the Next Part --> <--Back to the .NET Contents Page View all our Home Study Computer Courses
|
||||||||