protected void OnTicked(TickEventArgs e) { if (this.Ticked != null) { this.Ticked(this, e); } }
/// <summary> /// The timer has elapsed. Tickle the animation. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void Timer_Elapsed(object sender, System.Timers.ElapsedEventArgs e) { TickEventArgs args = new TickEventArgs(); this.OnTicked(args); if (!args.Handled) { this.Tick(); } }
protected virtual void Animation_Ticked(object sender, TickEventArgs e) { }
protected virtual void Animation_Ticked(object sender, TickEventArgs e) { }
/// <summary> /// The timer has elapsed. Tickle the animation. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void Timer_Elapsed(object sender, System.Timers.ElapsedEventArgs e) { TickEventArgs args = new TickEventArgs(); this.OnTicked(args); if (!args.Handled) this.Tick(); }
protected void OnTicked(TickEventArgs e) { if (this.Ticked != null) this.Ticked(this, e); }