DesignerEventArgs Class
.NET Framework 3.0
Provides data for the DesignerCreated and DesignerDisposed events.
Namespace: System.ComponentModel.Design
Assembly: System (in system.dll)
Assembly: System (in system.dll)
The following example demonstrates creating a DesignerEventArgs.
' This example method creates a DesignerEventArgs using the specified designer host. ' Typically, this type of event args is created by the IDesignerEventService. Public Function CreateComponentEventArgs(ByVal host As IDesignerHost) As DesignerEventArgs Dim args As New DesignerEventArgs(host) ' The designer host of the created or disposed document: args.Component Return args End Function
// This example method creates a DesignerEventArgs using the specified
// designer host.
// Typically, this type of event args is created by the
// IDesignerEventService.
public DesignerEventArgs CreateComponentEventArgs(IDesignerHost host)
{
DesignerEventArgs args = new DesignerEventArgs(host);
// The designer host of the created or disposed document:
// args.Component
return args;
} //CreateComponentEventArgs
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: