JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Using the System.Windows.Forms.UserControl Class

The System.Windows.Forms.UserControl class (I'm listing its full namespace here to differentiate it from the System.Web.UI.UserControl, which we'll also see in this chapter) is the class that supports user controls. Here is the inheritance hierarchy for this class:

Object
   MarshalByRefObject
      Component
         Control
            ScrollableControl
               ContainerControl
                  UserControl

You can find the more notable public events of the System.Windows.Forms.UserControl class in Table 24.5. (This class has no non-inherited properties or methods.) Note that as with other Windows controls, I am not listing the notable properties, methods, and events System.Windows.Forms.UserControl inherits from the Control class, such as the Click event—you can see all that in Chapter 5, Tables 5.1, 5.2, and 5.3.

Table 24.5: Noteworthy public events of System.Windows.Forms.UserControl objects.

Event

Means

Load

Occurs when the control is loaded and before it becomes visible.

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor