예제 #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;
        }
예제 #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;
        }