Top Method Summary
Options Name Purpose
OnContextMenuRequested (ContextMenuRequestedEventArgs) Raises the ContextMenuRequested event
ShowContextMenu (CommandID, integer, integer) Shows the specified shortcut menu at the specified location

Top Constructor Summary
Options Name Purpose
EventMenuCommandService (IServiceProvider) Constructor for the EventMenuCommandService class

Top Event Summary
Options Name Purpose
ContextMenuRequested (Object, ContextMenuRequestedEventArgs) Raised when a context menu is requested on the design surface


Method Detail
Top

OnContextMenuRequested (ContextMenuRequestedEventArgs)

Purpose: Raises the ContextMenuRequested event
Notes:

Parameters:
e Consultingwerk.Design.ContextMenuRequestedEventArgs
The ContextMenuRequestedEventArgs with the data for this event
Top

ShowContextMenu (CommandID, integer, integer)

Purpose: Shows the specified shortcut menu at the specified location
Notes: Invoked by the .NET designer infrastructure when the user
right-clicks the design surface. Raises the
ContextMenuRequested event instead of showing a .NET menu

Parameters:
poMenuId System.ComponentModel.Design.CommandID
The CommandID for the shortcut menu to show
piX INTEGER
The x-coordinate at which to display the menu, in screen coordinates
piY INTEGER
The y-coordinate at which to display the menu, in screen coordinates


Constructor Detail
Top

EventMenuCommandService (IServiceProvider)

Purpose: Constructor for the EventMenuCommandService class
Notes:

Parameters:
poServiceProvider System.IServiceProvider
The service provider (typically the DesignSurface)


Event Detail
Top

ContextMenuRequested (Object, ContextMenuRequestedEventArgs)

Purpose: Raised when a context menu is requested on the design surface
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the ContextMenuRequested event
e Consultingwerk.Design.ContextMenuRequestedEventArgs
The ContextMenuRequestedEventArgs with the data for the event


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       20.07.2026 16:02:14