O'Reilly logo

Developing Microsoft® .NET Controls with Microsoft Visual Basic® .NET by John Connell

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

Inheritance

Before we go any further, I want to take a brief timeout to talk about inheritance. You already know that the System.Windows.Forms namespace contains classes for creating Windows-based applications that take full advantage of the rich user interface features available in Microsoft Windows. What you might be surprised to find out is that the System.Windows.Forms class derives from the Control class. The Control class provides the base functionality for all controls that are displayed on a form as well as for the plumbing of the form itself.

Because controls are capable of hosting or parenting other controls, it’s possible to have a form as the child of, say, a Panel control. While this approach might seem strange and terrible, it ...

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