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.
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.
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.
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.
Demonstrates in Visual Basic the development of a simple multithreaded component, explaining how threads work and how to coordinate multiple threads in your component.
Demonstrates in Visual C# the development of a simple multithreaded component, explaining how threads work and how to coordinate multiple threads in your component.
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.