CashDrawerEventSource.DrawerClosed CashDrawerEventSource.DrawerClosed CashDrawerEventSource.DrawerClosed CashDrawerEventSource.DrawerClosed CashDrawerEventSource.DrawerClosed Event

Definition

Occurs when the cash drawer is closed.

public : event TypedEventHandler<CashDrawerEventSource, CashDrawerClosedEventArgs> DrawerClosed
// Register
event_token DrawerClosed(TypedEventHandler<CashDrawerEventSource, CashDrawerClosedEventArgs> const& handler) const;

// Revoke with event_token
void DrawerClosed(event_token const& cookie) const;

// Revoke with event_revoker
DrawerClosed_revoker DrawerClosed(auto_revoke_t, TypedEventHandler<CashDrawerEventSource, CashDrawerClosedEventArgs> const& handler) const;
public event TypedEventHandler<CashDrawerEventSource, CashDrawerClosedEventArgs> DrawerClosed
Public Event DrawerClosed As TypedEventHandler (Of CashDrawerEventSource, CashDrawerClosedEventArgs)
function onDrawerClosed(eventArgs){/* Your code */}


cashDrawerEventSource.addEventListener("drawerclosed", onDrawerClosed);
cashDrawerEventSource.removeEventListener("drawerclosed", onDrawerClosed);