Windows Forms Walkthroughs

Walkthroughs give step-by-step instructions for common scenarios. This makes them a good place to start learning about a particular feature area.

This topic contains links to Windows Forms walkthroughs.

Walkthroughs

Area

Title

Getting Started Walkthroughs

Walkthrough: Creating a Simple Windows Form

Walkthrough: Getting Started with the Windows Forms Designer

Walkthrough: Creating a Resizable Windows Form for Data Entry

Layout Walkthroughs

Walkthrough: Arranging Controls on Windows Forms Using Snaplines

Walkthrough: Laying Out Windows Forms Controls with Padding, Margins, and the AutoSize Property

Walkthrough: Arranging Controls on Windows Forms Using a FlowLayoutPanel

Walkthrough: Arranging Controls on Windows Forms Using a TableLayoutPanel

Control Walkthroughs

Walkthrough: Automatically Populating the Toolbox with Custom Components

Walkthrough: Running an Operation in the Background

Walkthrough: Implementing a Form That Uses a Background Operation

Walkthrough: Creating an Explorer Style Interface with the ListView and TreeView Controls Using the Designer

Walkthrough: Working with the MaskedTextBox Control

Walkthrough: Providing Standard Menu Items to a Form

Walkthrough: Updating Status Bar Information at Run Time

Walkthrough: Creating an MDI Form with Menu Merging and ToolStrip Controls

Walkthrough: Creating a Professionally Styled ToolStrip Control

DataGridView Control Walkthroughs

Walkthrough: Creating an Unbound Windows Forms DataGridView Control

Walkthrough: Creating a Master/Detail Form Using Two Windows Forms DataGridView Controls

Walkthrough: Validating Data in the Windows Forms DataGridView Control

Walkthrough: Handling Errors that Occur During Data Entry in the Windows Forms DataGridView Control

Walkthrough: Implementing Virtual Mode in the Windows Forms DataGridView Control

Developing Controls Walkthroughs

Walkthrough: Authoring a Composite Control with Visual Basic

Walkthrough: Authoring a Composite Control with Visual C#

Walkthrough: Inheriting from a Windows Forms Control with Visual Basic

Walkthrough: Inheriting from a Windows Forms Control with Visual C#

Walkthrough: Performing Common Tasks Using Smart Tags on Windows Forms Controls

Walkthrough: Serializing Collections of Standard Types with the DesignerSerializationVisibilityAttribute

Walkthrough: Debugging Custom Windows Forms Controls at Design Time

Walkthrough: Creating a Windows Forms Control That Takes Advantage of Visual Studio Design-Time Features

Dialog Box Walkthroughs

Walkthrough: Retrieving Dialog Box Information Collectively Using Objects

Drag-and-Drop Walkthroughs

Walkthrough: Performing a Drag-and-Drop Operation in Windows Forms

Globalizing Walkthroughs

Walkthrough: Localizing Windows Forms

Walkthrough: Creating a Layout That Adjusts Proportion for Localization

Walkthrough: Downloading Satellite Assemblies on Demand with the ClickOnce Deployment API Using the Designer

COM Interop Walkthroughs

Walkthrough: Supporting COM Interop by Displaying Each Windows Form on Its Own Thread

Walkthrough: Supporting COM Interop by Displaying Windows Forms on a Shared Thread

Visual Inheritance Walkthroughs

Walkthrough: Demonstrating Visual Inheritance

Accessibility Walkthroughs

Walkthrough: Creating an Accessible Windows-based Application

WPF Control Walkthroughs

Walkthrough: Arranging WPF Content on Windows Forms at Design Time

Walkthrough: Changing Properties of a Hosted WPF Element at Design Time

Walkthrough: Creating New WPF Content on Windows Forms at Design Time

Walkthrough: Copying and Pasting an ElementHost Control into Separate Windows Forms

Walkthrough: Assigning WPF Content on Windows Forms at Design Time

Walkthrough: Styling WPF Content

Component Walkthroughs

Walkthrough: Authoring a Simple Multithreaded Component with Visual Basic

Walkthrough: Authoring a Simple Multithreaded Component with Visual C#

Walkthrough: Authoring a Component with Visual Basic

Walkthrough: Authoring a Component with Visual C#

See Also

Other Resources

Visual Studio Walkthroughs

WPF Walkthroughs