示例#1
0
        private void ProcessEvent(TimerEventArgs e, EventHandler <TimerEventArgs> h)
        {
            EventHandler <TimerEventArgs> handler = h;

            handler?.Invoke(this, e);
        }
示例#2
0
 private void OnRunTimerEvent(TimerEventArgs e)
 {
     ProcessEvent(e, RunTimerEvent);
 }
示例#3
0
 private void OnEndTimerEvent(TimerEventArgs e)
 {
     ProcessEvent(e, EndTimerEvent);
 }
示例#4
0
 private void OnInitTimerEvent(TimerEventArgs e)
 {
     ProcessEvent(e, InitTimerEvent);
 }