Ejemplo n.º 1
0
        /// <summary>
        /// Update all timers state
        /// </summary>
        public override void Tick()
        {
            Panel.SetBounds(
                0,
                0,
                Panel.Parent.ClientRectangle.Width,
                Panel.Parent.ClientRectangle.Height
                );

            foreach (KeyTimer kt in KeyTimers)
            {
                if (kt.Active)
                {
                    kt.CheckTime();
                }
            }
            ProcessKeys();
        }