Windows Forms class hierarchy)

Source: Internet
Author: User
The.. NET Framework. windows. the Forms namespace provides all the classes used to form a Windows Forms-based application. the inheritance level is passed. NET Windows Forms provides many common features and provides many attributes and methods consistent with those of forms. some classes are explained as follows.
Control
The Control class is the basic class of other controls. It provides the basic functions of controls, such as the size, visibility, and tab order.
ScrollableControl
The ScrollableControl class directly inherits from the Control class and provides automatic scrolling capabilities for all controls that require a scroll bar.
ContainerControl
The ContainerControl class directly inherits from the ScrollableControl class and adds the flag and focus management functions to place other controls.
Form
The Form class directly inherits from the ContainerControl class and describes all the windows displayed in the application. the attributes and methods provided by the Form class allow you to display different forms, including the dialog box and multi-document interface (MDI) forms. all Windows Forms are derived from this class because it provides the basic functions required by forms.
UserControl
The UserControl class also inherits directly from the ContainerControl class and provides empty controls so that you can use Windows Forms Designer to create your own controls.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.