Author Archives: compitionpoint - Page 19
FontDialog Control
The Font Dialog control () is a handy control for selecting different kinds of font and font-related properties. font dialog box Using the Font Dialog, you can change the font type, style,…
ColorDialog Control
The Color Dialog () is used when you want to pick different colors. For example, when you want to pick a color of the font or a background color for the form,…
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…