This documentation is archived and is not being maintained.

ToolboxItem.OnComponentsCreating Method

Raises the ComponentsCreating event.

[Visual Basic]
Protected Overridable Sub OnComponentsCreating( _
   ByVal args As ToolboxComponentsCreatingEventArgs _
)
[C#]
protected virtual void OnComponentsCreating(
 ToolboxComponentsCreatingEventArgs args
);
[C++]
protected: virtual void OnComponentsCreating(
 ToolboxComponentsCreatingEventArgs* args
);
[JScript]
protected function OnComponentsCreating(
   args : ToolboxComponentsCreatingEventArgs
);

Parameters

args
A ToolboxComponentsCreatingEventArgs that provides data for the event.

Remarks

This method raises the ComponentsCreating event. This method is called after a toolbox item is invoked to create components, just before the CreateComponentsCore method is called.

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 | ComponentsCreating

Show: