What Do the Component and Control Classes Do for Us?

Frameworks provide us with a hierarchy of relationships. It is beneficial to understand different branches in a framework like the CLR. Understanding the relationships and knowing where the branches are is beneficial to finding opportunistic points to extend a framework into your application.

When it comes to building graphical user interfaces in Visual Basic .NET for Windows applications, the essential first two branches occur at the Component and Control classes. The Component class introduces the notion of visually designable objects. The Control class, which inherits from Component, introduces the notion of a Control that receives messages, can have the input focus, and maintains a Windows ...

Get Visual Basic® .NET Unleashed 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.