CashDrawerEventSource.DrawerOpened CashDrawerEventSource.DrawerOpened CashDrawerEventSource.DrawerOpened CashDrawerEventSource.DrawerOpened CashDrawerEventSource.DrawerOpened Event

Definition

Occurs when the cash drawer is opened.

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

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

// Revoke with event_revoker
DrawerOpened_revoker DrawerOpened(auto_revoke_t, TypedEventHandler<CashDrawerEventSource, CashDrawerOpenedEventArgs> const& handler) const;
public event TypedEventHandler<CashDrawerEventSource, CashDrawerOpenedEventArgs> DrawerOpened
Public Event DrawerOpened As TypedEventHandler (Of CashDrawerEventSource, CashDrawerOpenedEventArgs)
function onDrawerOpened(eventArgs){/* Your code */}


cashDrawerEventSource.addEventListener("draweropened", onDrawerOpened);
cashDrawerEventSource.removeEventListener("draweropened", onDrawerOpened);