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();
            }
        }
Esempio n. 3
0
 protected virtual void Animation_Ticked(object sender, TickEventArgs e)
 {
 }