Control的继承关系

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            System.Windows.Forms.ScrollableControl
               System.Windows.Forms.ContainerControl
                  System.Windows.Forms.UserControl
                  
Control 类实现向用户显示信息的类所需的最基本功能。
它处理用户通过键盘和指针设备所进行的输入。
它还处理消息路由和安全。
虽然它并不实现绘制,但是它定义控件的边界(其位置和大小)。
它提供窗口句柄 (hWnd)。

猜你喜欢

转载自blog.csdn.net/lzl1778/article/details/88896213