Example #1
0
        /// <summary>
        /// Sets the min,max & step values.
        /// </summary>
        /// <param name="This">This NumericUpDown.</param>
        /// <param name="min">The min.</param>
        /// <param name="max">The max.</param>
        /// <param name="step">The step.</param>
        public static void SetMinMaxStep(this NumericUpDown This, int min, int max, int step)
        {
#if NET35
            System.Diagnostics.Debug.Assert(This != null);
#else
            Contract.Requires(This != null);
#endif
            This.SetMinMaxStep((decimal)min, max, step);
        }