Creating and Managing .NET Components

Instantiate and invoke a Web Service or component.

  • Instantiate and invoke a .NET component.

Create a Windows control.

  • Create a Windows control by using visual inheritance.

  • Host a Windows control inside Microsoft Internet Explorer.

There are three main classes for creating components in the .NET Framework:

  • The Component class

  • The Control class

  • The UserControl class

The most general of these three classes is the Component class. It is the base class for all the components in the .NET Framework. The Component class belongs to the System.ComponentModel namespace. You can derive from the Component class to create nonvisual components such as the Timer component or the EventLog component.

The Control class extends the ...

Get MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.