Пример #1
0
 /// <summary>
 /// Overrides this method if want to handle behavior.
 /// </summary>
 protected virtual void OnTimeTick(TimeTickEventArgs e)
 {
     Log.Debug("NUI", "OnTimeTick() is called!");
     TimeTick?.Invoke(this, e);
 }
Пример #2
0
 /// <summary>
 /// Overrides this method to handle the behavior when the time tick event comes.
 /// If base.OnTick() is not called, the event 'TimeTick' will not be emitted.
 /// </summary>
 /// <param name="time">The received TimeEventArgs to get the time information.</param>
 /// <since_tizen> 4 </since_tizen>
 protected virtual void OnTick(TimeEventArgs time)
 {
     TimeTick?.Invoke(this, time);
 }
Пример #3
0
 private void timerLeft_Tick(object sender, EventArgs e)
 {
     TimeTick?.Invoke();
 }