|  | This document is archived and information here might be outdated. Recommended version. | 
[Visual Basic .NET]
Public Delegate Function OnContextMenuEventHandler ( _
    ByVal X As Integer, _
    ByVal Y As Integer _
) As Boolean
[C#]
public delegate bool OnContextMenuEventHandler (
    int X,
    int Y
);