O'Reilly logo

Visual Basic® .NET by Example by Bob Donald, Gabriel Oancea

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Examples Using Common Controls in .NET

Over the next several pages examples are provided to show usage of specific controls that you can use in the development of your Windows applications using Visual Basic .NET.

Labels

Labels are controls used mostly to display static text on a form. Labels are typically used in conjunction with TextBox controls to describe the type of data contained in the text boxes. The Label class inherits from the Control class.

A new kind of label is also introduced as part of the System.Windows.Forms namespace. This kind of label is called a LinkLabel and allows you to display text on a form just like a normal label. However, you can also define fragments of the text to be Web links such that if you click on the fragment ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required