Delegate UIEventHandler
- Namespace
- CADability
- Assembly
- CADability.dll
Delegate for notifications about a menu item or toolbar button becoming active or inactive. Currently not used by CADability.
public delegate void UIEventHandler(string MenuId, bool Active)
Parameters
MenuIdstringThe id of the menu item (see MenuResource.xml)
Activebooltrue if the item became active, false if it became inactive
Constructors
UIEventHandler(object, nint)
public UIEventHandler(object @object, nint method)
Parameters
Methods
BeginInvoke(string, bool, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(string MenuId, bool Active, AsyncCallback callback, object @object)
Parameters
MenuIdstringActiveboolcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(string, bool)
public virtual void Invoke(string MenuId, bool Active)