Dialogs
Dialogs are windows that have a certain specific function such as saving or opening a file, choosing a color, or printing a document. The .NET framework offers the dialog controls which…
ToolStripContainer Control
The ToolStrip Container control ( Container) serves as a container for toolbars. With this control, you can arrange and change the positions of the toolbars inside this container. The ToolStrip Container is…
Creating Toolbars
A toolbar contains buttons and other components that serve as menu commands to the user. Like the menu, toolbars are also seen in numerous famous applications such as the Microsoft Office 2003…
Adding Menus to Your Form
Menu bars can be seen in almost every application out there. Menus are used to contain different commands that the user can use. You can add menu bars to a…
Using the TabIndex Property
You can cycle the focus of each control by pressing the tab key on the keyboard. Each control has a TabIndex property which indicates the order each control will get focus when…
Docking Panels
The Dock property allows you to dock the control to any of the edges of the form or its container. It’s another way to make your controls intact when you resize the…
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 () 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 () 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…