SUMMARY

This chapter described controls, components, and objects in general terms. It told how to create controls and how to use their properties, methods, and events. It spent some extra time explaining two common data-validation strategies.

All controls inherit directly or indirectly from the Control class so any properties, methods, and events defined by the Control class are inherited by those other controls. The Form class also inherits from the Control class so it also inherits all of that class’s properties, methods, and events. In some sense a Form is just another control but it does have special needs and provides special features that are not shared with other controls. To help you use these features effectively, Chapter 9, “Windows Forms,” describes the Form class in greater detail.

Get Visual Basic 2012 Programmer's Reference 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.