コード例 #1
0
        /// <summary>
        /// Sets the value so that it is between bounds.
        /// </summary>
        /// <param name="This">This NumericUpDown.</param>
        /// <param name="value">The value to set.</param>
        public static void SetSaveValue(this NumericUpDown This, ulong value)
        {
#if NET35
            System.Diagnostics.Debug.Assert(This != null);
#else
            Contract.Requires(This != null);
#endif
            This.SetSaveValue((decimal)value);
        }