/// <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); }
/// <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); }
private void timerLeft_Tick(object sender, EventArgs e) { TimeTick?.Invoke(); }