ToolboxComponentsCreatedEventArgs Class
.NET Framework 2.0
Provides data for the ComponentsCreated event that occurs when components are added to the toolbox.
Namespace: System.Drawing.Design
Assembly: System.Drawing (in system.drawing.dll)
Assembly: System.Drawing (in system.drawing.dll)
The following example method returns a ToolboxComponentsCreatedEventArgs that indicates the components that have been created:
Public Function CreateToolboxComponentsCreatedEventArgs(ByVal components() As System.ComponentModel.IComponent) As ToolboxComponentsCreatedEventArgs Dim e As New ToolboxComponentsCreatedEventArgs(components) ' The components that were just created e.Components Return e End Function
public ToolboxComponentsCreatedEventArgs
CreateToolboxComponentsCreatedEventArgs(System.ComponentModel.
IComponent[] components)
{
ToolboxComponentsCreatedEventArgs e =
new ToolboxComponentsCreatedEventArgs(components);
// The components that were just created e.Components
return e;
} //CreateToolboxComponentsCreatedEventArgs
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: