/// <summary> /// Event callback for the alarm expiring. /// </summary> /// <param name="alarm">CashDrawerCloseAlarm that has expired.</param> /// <param name="sender">Unused by AlarmTimeoutExpired events.</param> private async void drawer_AlarmExpired(CashDrawerCloseAlarm alarm, object sender) { await MainPage.Current.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => { rootPage.NotifyUser("Alarm expired. Still waiting for drawer to be closed.", NotifyType.StatusMessage); }); }
/// <summary> /// Event callback for the alarm expiring. /// </summary> /// <param name="alarm">CashDrawerCloseAlarm that has expired.</param> /// <param name="sender">Unused by AlarmTimeoutExpired events.</param> private async void drawer_AlarmExpired(CashDrawerCloseAlarm alarm, object sender) { await MainPage.Current.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => { rootPage.NotifyUser("Alarm expired. Still waiting for drawer to be closed.", NotifyType.StatusMessage); }); }
public CashDrawerCloseAlarmEvents(CashDrawerCloseAlarm This) { this.This = This; }