Raises the ToolboxItem.ComponentsCreated event.
- args
- A System.Drawing.Design.ToolboxComponentsCreatedEventArgs that provides data for the event.
The ToolboxItem.OnComponentsCreated(ToolboxComponentsCreatedEventArgs) method raises the ToolboxItem.ComponentsCreated event. This method is called after a toolbox item is invoked to create components and the ToolboxItem.CreateComponentsCore(System.ComponentModel.Design.IDesignerHost) method has returned.
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The ToolboxItem.OnComponentsCreated(ToolboxComponentsCreatedEventArgs) method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.