Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }