Component Authoring Walkthroughs
The following step-by-step topics will help you learn how to create a component or a control for Windows Forms. For more information about creating custom controls for Web Forms pages, see Developing Custom ASP.NET Server Controls.
In This Section
Walkthrough: Authoring a Component with Visual Basic
Shows the development in Visual Basic of a simple component, illustrating the interaction between client and component, object lifetime and circular references, debugging clients and components, and the use of shared methods and instance methods.Walkthrough: Authoring a Component with Visual C#
Shows in Visual C# the development of a simple component, illustrating the interaction between client and component, object lifetime and circular references, debugging clients and components, and the use of shared methods and instance methods.
Related Sections
Component Programming Walkthroughs
Provides a list of the walkthroughs available for programmatic component creation and implementation.Programming with Components
Provides high-level information and links to topics about programming with components, including components that interact with Microsoft Message Queuing system resources, the file system, and Active Directory.Walkthrough: Authoring a Simple Multithreaded Component with Visual Basic
Demonstrates in Visual Basic the development of a simple multithreaded component, explaining how threads work and how to coordinate multiple threads in your component.Walkthrough: Authoring a Simple Multithreaded Component with Visual C#
Demonstrates in Visual C# the development of a simple multithreaded component, explaining how threads work and how to coordinate multiple threads in your component.Walkthrough: Inheriting from a Windows Forms Control with Visual Basic
Shows in Visual Basic the development of a simple control that inherits from a pre-existing Windows Forms control.Walkthrough: Inheriting from a Windows Forms Control with Visual C#
Shows in Visual C# the development of a simple control that inherits from a pre-existing Windows Forms control.Walkthrough: Authoring a Composite Control with Visual Basic
Shows in Visual Basic the development of a simple control that inherits from the UserControl class, and how to inherit from an established user control.Walkthrough: Authoring a Composite Control with Visual C#
Shows in Visual C# the development of a simple control that inherits from the UserControl class, and how to inherit from an established user control.Walkthrough: Creating a Queue and Working with Messages
Describes how to use a MessageQueue component instance to interact with Windows message queues.Walkthrough: Exploring Event Logs, Event Sources, and Entries
Describes how to use an EventLog component instance to interact with existing logs, create custom logs, and read and write values to logs.Walkthrough: Retrieving Categories and Counters
Describes how to use a PerformanceCounter component instance to retrieve lists of Windows performance counter categories on a server.Walkthrough: Changing and Retrieving Performance Counter Values
Describes how to use a PerformanceCounter component instance to retrieve and set raw and calculated values from a Windows performance counter.Walkthrough: Managing a Windows Process
Describes how to use the Process component to monitor and interact with Windows processes on a server.Walkthrough: Reacting to File System Events
Describes how to use a FileSystemWatcher component instance to monitor files and directories and react when changes occur.Walkthrough: Installing an Event Log Component
Describes how to use an installation component to configure server resources needed for your EventLog component instance.Troubleshooting Control and Component Authoring
Explains how to fix common problems.