O'Reilly logo

MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET by MCSD Amit Kalani - MCAD

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required