Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

UserControl.Load Event

Occurs before the control becomes visible for the first time.

[Visual Basic]
Public Event Load As EventHandler
[C#]
public event EventHandler Load;
[C++]
public: __event EventHandler* Load;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type EventArgs.

Remarks

You can use this event to perform tasks such as allocating resources used by the control.

For more information about handling events, see Consuming Events.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

UserControl Class | UserControl Members | System.Windows.Forms Namespace | OnLoad | Form.Load

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.