Anchoring Controls

One problem when placing controls in a windows form is that their location stays the same when the form is resized. This could result in a total mess of the…

Designing Windows Forms

When designing a user interface, you must consider the location, size, alignment, and colors. Thankfully, Visual Studio has some tools that will aid you when designing user interfaces. For the…

Timer Control

The Timer control (System.Windows.Forms.Timer) is used to execute commands for every tick of time which is specified with an interval. For example, if you want to print your name for every 5…

TrackBar Control

The TrackBar control (System.Windows.Forms.TrackBar) looks like a slider with a thumb that you can move to adjust its value. The part where the thumb points represent the current value. The following shows…

ToolTip Control

You can use the Tool Tip control (System.Windows.Forms.ToolTip) to display tool tips which offer description about the a certain control of part of the GUI. Tool tips can be seen in numerous…

TabControl

The TabControl control (System.Windows.Forms.TabControl) allows you to create tabbed windows that you can see in many applications. An example of a tabbed window is the properties window of files and the tabs…

ListView Control

The ListView control (System.Windows.Forms.ListView) allows you to show a list of items in different views and add icons to each of them. The ListView control is composed of ListViewItems which form a grid-like structure of…

DateTimePicker Control

The DateTimePicker control (System.Windows.Forms.DateTimePicker) is used to pick a single date. The control appears by default, as a combo box with a calendar icon at the right part. You can select each…

MonthCalendar Control

The MonthCalendar control (System.Windows.Forms.MonthCalendar) resembles a calendar and shows a month and all its dates. The MonthCalendar control allows you to choose a month and a date. To choose a month, click the left…

LinkLabel Control

The Link Label control is similar to an ordinary label. But it has an underline and resembles a link on a web page. The Link Label control can be used to link to files,…

PictureBox Control

You can display images on your form by using the Picture Box control. It is a simple control which has a main purpose of displaying images. All you have to do is…

NumericUpDown Control

The NumericUpDown administration is generally acclimated get numeric information sources and consequently confines client for giving invalid non-numeric qualities.The Numeric UpDown management looks like a TextBox management, but there ar…

CheckedListBox Control

The CheckedListBox control is similar to the ListBox control except that each item is represented by a CheckBox control. You can select each item like an ordinary ListBox, but in addition, you can also check the box…

ListBox Control

The ListBox control is used to show a list of strings which you can select. By default, you can only select one item. The List Box control is best used if you are trying…

ComboBox Control

The ComboBox control is another way of allowing a user to choose from a set of options. The   ComboBox control looks like a text box with a button in its right side. When…