Beispiel #1
0
        protected virtual void OnRaiseTimerOccuredEvent(TimerForEventOccuredEventArgs e)
        {
            EventHandler <TimerForEventOccuredEventArgs> handler = RaiseTimerOccuredEvent;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #2
0
 private void HandleRaiseTimerOccuredEvent(object source, TimerForEventOccuredEventArgs e)
 {
     _currEvents.Remove(e.Evnt);
     //TODO: consider informing renderer of this event not being relevant anymore.
 }