Exemplo n.º 1
0
        //Subscribe to events by Several publishers
        private void SubscribeToEvents()
        {
            NotificationSlave notificationSlave = NotificationSlave.NotificationSlaveInstance();

            notificationSlave.AllNotificationsCancelled     += NotificationSlave_AllNotificationsCancelled;
            notificationSlave.NotificationCancelled         += NotificationSlave_NotificationCancelled;
            notificationSlave.NotificationCancelledLollipop += NotificationSlave_NotificationCancelledLollipop;
        }
Exemplo n.º 2
0
        //Subscribe to events by Several publishers
        private void SubscribeToEvents()
        {
            NotificationSlave notificationSlave = NotificationSlave.NotificationSlaveInstance();

            notificationSlave.AllNotificationsCancelled       += NotificationSlave_AllNotificationsCancelled;
            notificationSlave.NotificationCancelled           += NotificationSlave_NotificationCancelled;
            notificationSlave.NotificationCancelledLollipop   += NotificationSlave_NotificationCancelledLollipop;
            notificationSlave.ResendLastNotificationRequested += NotificationSlave_ResendLastNotificationRequested;
        }