CADability dotNET
Override if you want to process menu commands with your action. Default implementation always returns false.

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

Syntax

C#
public virtual bool OnCommand(
	string MenuId
)
Visual Basic
Public Overridable Function OnCommand ( _
	MenuId As String _
) As Boolean
Visual C++
public:
virtual bool OnCommand(
	String^ MenuId
)

Parameters

MenuId
Type: System..::..String
the menu id to process

Return Value

true if processed, false if not

Implements

ICommandHandler..::..OnCommand(String)

See Also