ToolboxItem.ComponentsCreated Event
Occurs immediately after components are created.
[Visual Basic] Public Event ComponentsCreated As _ ToolboxComponentsCreatedEventHandler [C#] public event ToolboxComponentsCreatedEventHandler ComponentsCreated; [C++] public: __event ToolboxComponentsCreatedEventHandler* ComponentsCreated;
[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 ToolboxComponentsCreatedEventArgs containing data related to this event. The following ToolboxComponentsCreatedEventArgs property provides information specific to this event.
| Property | Description |
|---|---|
| Components | Gets or sets an array containing the components to add to the toolbox. |
Remarks
This event is raised each time that components of this toolbox item are created. 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
ToolboxItem Class | ToolboxItem Members | System.Drawing.Design Namespace | ToolboxComponentsCreatedEventHandler