CADability dotNET
Delegate definition for ProcessCommandEvent, which is raised when the user selects a menu command from the main menu.

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public delegate void ProcessCommandDelegate(
	string MenuId,
	ref bool Processed
)
Visual Basic
Public Delegate Sub ProcessCommandDelegate ( _
	MenuId As String, _
	ByRef Processed As Boolean _
)
Visual C++
public delegate void ProcessCommandDelegate(
	String^ MenuId, 
	bool% Processed
)

Parameters

MenuId
Type: System..::..String
The menuid of the command (see MenuResource.xml)
Processed
Type: System..::..Boolean%
Set to true, if you have processed this command and no further action is required, leave unmodified if CADability should process this command

See Also