/// <summary> /// The on spin. /// </summary> /// <param name="e"> The e. </param> /// <exception cref="ArgumentNullException">Any Exception </exception> protected virtual void OnSpin(SpinEventArgs e) { if (e == null) { throw new ArgumentNullException("e"); } if (e.Direction == SpinDirection.Increase) { this.DoIncrement(); } else { this.DoDecrement(); } }