Visual Basic (Declaration) | |
---|---|
Public Delegate Sub CreateButtonEventHandler( _ ByVal sender As Object, _ ByVal e As CreateButtonEventArgs _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New CreateButtonEventHandler(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate void CreateButtonEventHandler( object sender, CreateButtonEventArgs e ) |
Parameters
- sender
- Object that raised the event
- e
- CreateButtonEventArgs object that contains event data
For more information about event handler delegates, refer to Events and Delegates in the Microsoft .NET Framework Developer's Guide.
For an introduction to delegates, refer to Delegates Tutorial in the Microsoft C# Programmers Reference.
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6