/// <summary>
        ///
        /// </summary>
        /// <param name="state"></param>
        protected virtual void OnStateChanged(AutoRepeatState state)
        {
            var handler = this.StateChanged;

            if (handler != null)
            {
                handler(
                    this,
                    new AutoRepeatEventArgs(state));
            }
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="state"></param>
        protected virtual void OnStateChanged(AutoRepeatState state)
        {
            var handler = this.StateChanged;

            if (handler != null)
            {
                handler(
                    this,
                    new AutoRepeatEventArgs(state));
            }
        }