This documentation is archived and is not being maintained.

Windows Forms Walkthroughs

Visual Studio .NET 2003

Walkthroughs give step-by-step instructions for common scenarios, which makes them a good place to start learning about the product or a particular feature area.

The following walkthroughs will help orient you to the use of Windows Forms in your Visual Basic, Visual C#, and Visual C++ applications:

Creating a Simple Windows Form
Describes how to build and run a simple Windows Form.
Creating a Master-Detail Windows Form
Describes how to create a parent-child relationship in a dataset and display related records in a Windows Form.
Creating Dynamic Context Menus on Windows Forms
Steps through a detailed example of creating a single context menu to serve two or more different controls.
Switching Windows Forms Menu Structures Based on Application State
Gives directions for switching between MainMenu objects programmatically.
Demonstrating Visual Inheritance
Describes how to create a base Windows Form and compile it into a class library. You will import this class library into another project, and create a new form that inherits from the base form.
Creating a Multipane User Interface with Windows Forms
Describes how to create a multipane user interface that is similar to the one used in Microsoft Outlook.
Simple Data Access in a Windows Form
Describes the basic steps required for accessing SQL Server data via a dataset in a read-write Windows Form.
Displaying Data in a Windows Form Using a Parameterized Query
Describes how to create a dataset containing only selected records, based on criteria that users provide at run time in a Windows Form.
Calling XML Web Services from Windows Forms
Describes how to make calls to Web service methods from a Windows application.
Creating a Windows Service Application in the Component Designer
Describes how to create a long-running executable file that does not have a user interface.
Persisting an Object
Demonstrates how serialization can be used to persist an object's data between instances, allowing you to store values and retrieve them the next time the object is instantiated.
Retrieving Dialog Box Information Collectively Using Objects
Gives directions for using an object to expose a group of related data from a dialog box.
Updating Status Bar Information at Run Time
Gives directions for programmatically controlling the data within status bar panels.

See Also

Walkthroughs in Visual Basic and Visual C# | Visual Studio Walkthroughs | Samples and Walkthroughs | Code Examples for Visual Basic Programmers

Show: