Windows Forms Controls in Visual Basic .NET

Tags: VB.NET, VB 2008, VB 2010, VB 2012, VB 2013

This section describes the Windows Forms Controls

Controls make programming a lot easier and faster. You can drag and drop a button or a text box to the designer and their codes will be generated automatically. Imagine if you are building a Sudoko solver program and you want to write to add 81 textboxes.

(If you can't see the Toolbox in your visual studio, click on View - Toolbox. Or using keyboard shortcuts: Ctrl + Alt + X

Choosing the write control will help the users when they work on your program. For example: if you require the user to enter a date in the form, you can add a DateTimePicker control instead of a normal textbox. This way you will help him enter the date by opening the calendar the DateTimePicker provide and choose the date.

Each control you add, there are properties and events associated with the controls. For example: you can add text to a textbox, rename a button, change its background color, etc...

Lets take a look at each control in the Toolbox

Pointer
BackgroundWorker
BindingNavigator
BindingSource
Button
Chart
CheckBox
CheckedListBox
ColorDialog
ComboBox
ContextMenuStrip
DataGridView
DataSet
DateTimePicker
DirectoryEntry
DirectorySearcher
DomainUpDown
ErrorProvider
EventLog
FileSystemWatcher
FlowLayoutPanel
FolderBrowserDialog
FontDialog
GroupBox
HelpProvider
HScrollBar
ImageList
Label
LinkLabel
ListBox
ListView
MaskedTextBox
MenuStrip
MessageQueue
MonthCalendar
NotifyIcon
NumericUpDown
OpenFileDialog
PageSetupDialog
Panel
PerformanceCounter
PictureBox
PrintDialog
PrintDocument
PrintPreviewControl
PrintPreviewDialog
Process
ProgressBar
PropertyGrid
RadioButton
ReportViewer
RichTextBox
SaveFileDialog
SerialPort
ServiceController
SplitContainer
Splitter
StatusStrip
TabControl
TableLayoutPanel
TextBox
Timer
ToolStrip
ToolStripContainer
ToolTip
TrackBar
TreeView
VScrollBar
WebBrowser


Share This

Home | About | Contact | Privacy Policy

Copyright visual-basic-tutorials.com 2017 - All Rights Reserved.