Visual Basic .NET - English

Adding Controls Using the Toolbox

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 (the Community 2015
to 2019 editions have an extra tab called Server Explorer. 2019 users
might not see the Data Source tab):

VB NET 2012 toolbox

To display all the tools, click on the Toolbox tab. You’ll see
the following appear:


There are lots of categories of tools available. The toolbox you’ll
be working with first is the Common Controls toolbox. To see
the tools, click on the plus or arrow symbol next to Common Controls.
You’ll see a long list of tools:

Common Controls in the VB ToolBox

As you can see, there are an awful lot of tools to choose from! For this first
section, we’ll only be using 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. Or just click the word Toolbox

In the next part, we’ll see how to add a textbox to the form.

Kaynak : ‘sitesinden alıntı

Yorum Yap