Пример #1
0
 protected void OnTicked(TickEventArgs e)
 {
     if (this.Ticked != null)
     {
         this.Ticked(this, e);
     }
 }
Пример #2
0
        /// <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) {
 }
Пример #4
0
 protected virtual void Animation_Ticked(object sender, TickEventArgs e)
 {
 }
Пример #5
0
 /// <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();
 }
Пример #6
0
 protected void OnTicked(TickEventArgs e) {
     if (this.Ticked != null)
         this.Ticked(this, e);
 }