Table of Contents

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

MenuId string

The id of the menu item (see MenuResource.xml)

Active bool

true if the item became active, false if it became inactive

Constructors

UIEventHandler(object, nint)

public UIEventHandler(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(string, bool, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(string MenuId, bool Active, AsyncCallback callback, object @object)

Parameters

MenuId string
Active bool
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(string, bool)

public virtual void Invoke(string MenuId, bool Active)

Parameters

MenuId string
Active bool