コード例 #1
0
ファイル: ByteUpDown.cs プロジェクト: zalid/Elysium-Extra
 /// <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
ファイル: SingleUpDown.cs プロジェクト: zalid/Elysium-Extra
 /// <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
ファイル: DoubleUpDown.cs プロジェクト: zalid/Elysium-Extra
 /// <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
ファイル: ULongUpDown.cs プロジェクト: zalid/Elysium-Extra
 /// <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
ファイル: IntegerUpDown.cs プロジェクト: zalid/Elysium-Extra
 /// <summary>
 /// Initialises static members of the <see cref="IntegerUpDown"/> class.
 /// </summary>
 static IntegerUpDown()
 {
     CommonNumericUpDown <int> .UpdateMetadata(typeof(IntegerUpDown), 1, int.MinValue, int.MaxValue);
 }