Delegate ProcessCommandDelegate
- Namespace
- CADability
- Assembly
- CADability.dll
Delegate definition for ProcessCommandEvent, which is raised when the user selects a menu command from the main menu.
public delegate void ProcessCommandDelegate(string MenuId, ref bool Processed)
Parameters
MenuIdstringThe menuid of the command (see MenuResource.xml)
ProcessedboolSet to true, if you have processed this command and no further action is required, leave unmodified if CADability should process this command
Constructors
ProcessCommandDelegate(object, nint)
public ProcessCommandDelegate(object @object, nint method)
Parameters
Methods
BeginInvoke(string, ref bool, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(string MenuId, ref bool Processed, AsyncCallback callback, object @object)
Parameters
MenuIdstringProcessedboolcallbackAsyncCallbackobjectobject
Returns
EndInvoke(ref bool, IAsyncResult)
public virtual void EndInvoke(ref bool Processed, IAsyncResult result)
Parameters
ProcessedboolresultIAsyncResult
Invoke(string, ref bool)
public virtual void Invoke(string MenuId, ref bool Processed)