Esempio n. 1
0
 protected void OnTicked(TickEventArgs e)
 {
     if (this.Ticked != null)
     {
         this.Ticked(this, e);
     }
 }
Esempio n. 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) {
 }
 protected virtual void Animation_Ticked(object sender, TickEventArgs e)
 {
 }
Esempio n. 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();
 }
Esempio n. 6
0
 protected void OnTicked(TickEventArgs e) {
     if (this.Ticked != null)
         this.Ticked(this, e);
 }