O'Reilly logo

Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) by Priti Kalani, Amit Kalani, Kalani Kirk Hausman

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

In programming, the term component is generally used for an object that is reusable and can interact with other objects. The .NET Framework enables you to create components in several different ways:

  • By deriving from the Component class, which belongs to the System.ComponentModel namespace. This technique is used to create those components that are used to control external resources such as an event log, or to provide a design-time interface such as the one supplied by the System.Windows.Forms.Timer component. These objects generally don't have any runtime user interface.

  • By deriving from the Control class of the System.Windows.Forms namespace. This technique is used to create the control that provides user interface capabilities. ...

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