Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }