Visual Basic (Declaration) | |
---|---|
Public Delegate Sub MenuItemClickedHandler( _ ByVal sender As Object, _ ByVal eventArgs As MenuItemClickEventArgs _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New MenuItemClickedHandler(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate void MenuItemClickedHandler( object sender, MenuItemClickEventArgs eventArgs ) |
Parameters
- sender
- The sender.
- eventArgs
- The MenuItemClickEventArgs instance that contains the event data.
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