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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access