Пример #1
0
 /// <summary>
 /// Initialises static members of the <see cref="ByteUpDown"/> class.
 /// </summary>
 static ByteUpDown()
 {
     CommonNumericUpDown <byte> .UpdateMetadata(typeof(ByteUpDown), (byte)1, byte.MinValue, byte.MaxValue);
 }
Пример #2
0
 /// <summary>
 /// Initialises static members of the <see cref="LongUpDown"/> class.
 /// </summary>
 static LongUpDown()
 {
     CommonNumericUpDown <long> .UpdateMetadata(typeof(LongUpDown), 1L, long.MinValue, long.MaxValue);
 }
Пример #3
0
 /// <summary>
 /// Initialises static members of the <see cref="SingleUpDown"/> class.
 /// </summary>
 static SingleUpDown()
 {
     CommonNumericUpDown <float> .UpdateMetadata(typeof(SingleUpDown), 1f, float.PositiveInfinity, float.NegativeInfinity);
 }
Пример #4
0
 /// <summary>
 /// Initialises static members of the <see cref="DoubleUpDown"/> class.
 /// </summary>
 static DoubleUpDown()
 {
     CommonNumericUpDown <double> .UpdateMetadata(typeof(DoubleUpDown), 1d, double.NegativeInfinity, double.PositiveInfinity);
 }
Пример #5
0
 /// <summary>
 /// Initialises static members of the <see cref="ULongUpDown"/> class.
 /// </summary>
 static ULongUpDown()
 {
     CommonNumericUpDown <ulong> .UpdateMetadata(typeof(ULongUpDown), (ulong)1, ulong.MinValue, ulong.MaxValue);
 }
Пример #6
0
 /// <summary>
 /// Initialises static members of the <see cref="IntegerUpDown"/> class.
 /// </summary>
 static IntegerUpDown()
 {
     CommonNumericUpDown <int> .UpdateMetadata(typeof(IntegerUpDown), 1, int.MinValue, int.MaxValue);
 }