22 writes to Minimum
System.Windows.Forms (2)
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
594
Minimum
= DefaultMinimum;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
901
_pageCounter.
Minimum
= new decimal(0d);
System.Windows.Forms.Tests (13)
NumericUpDownTests.cs (13)
323
upDown.
Minimum
= minimumValue;
337
upDown.
Minimum
= minimumValue;
350
upDown.
Minimum
= 20;
360
upDown.
Minimum
= 10;
571
upDown.
Minimum
= 10;
648
using NumericUpDown upDown = new() { Value = 0,
Minimum
= 0, Increment = 1 };
664
using NumericUpDown upDown = new() { Value = 10,
Minimum
= 0, Maximum = 20, Increment = 1, Text = "30" };
674
Minimum
= 10,
688
Minimum
= 10,
703
Minimum
= 10,
717
Minimum
= 10,
731
upDown.
Minimum
= 10;
757
using NumericUpDown upDown = new() { Value = 10,
Minimum
= 0, Maximum = 20, Increment = 1, Text = "30" };
WinFormsControlsTest (7)
DataGridViewTest.Designer.cs (1)
166
this.numericUpDown1.
Minimum
= new decimal(new int[] {
ScrollBars.cs (1)
27
numericMaximum.
Minimum
= numericMinimum.Value;
TrackBars.cs (3)
74
numericMaximum.
Minimum
= numericMinimum.Value;
78
numericFrequency.
Minimum
= 1;
91
numericFrequency.
Minimum
= 1;
TrackBars.Designer.cs (2)
147
this.numericMinimum.
Minimum
= new decimal(new int[] {
185
this.numericFrequency.
Minimum
= new decimal(new int[] {
14 references to Minimum
System.Windows.Forms (5)
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (5)
320
throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(
Minimum
)}'", $"'{nameof(Maximum)}'"));
620
/// Indicates whether the <see cref="
Minimum
"/> property should be persisted.
624
return !
Minimum
.Equals(DefaultMinimum);
660
return $"{s}, Minimum = {
Minimum
}, Maximum = {Maximum}";
774
int numDigits = (int)Math.Floor(Math.Log(Math.Max(-(double)
Minimum
, (double)Maximum), baseSize));
System.Windows.Forms.Tests (7)
NumericUpDownTests.cs (7)
328
upDown.
Minimum
.Should().Be(maximumValue);
342
upDown.
Minimum
.Should().Be(minimumValue);
352
upDown.
Minimum
.Should().Be(20);
362
upDown.
Minimum
.Should().Be(10);
551
upDown.
Minimum
.Should().Be(0);
572
upDown.
Minimum
.Should().Be(10);
695
subUpDown.Value.Should().Be(subUpDown.
Minimum
);
WinFormsControlsTest (2)
TrackBars.cs (2)
75
numericFrequency.Maximum = (int)Math.Min(numericMaximum.Value - numericMaximum.
Minimum
, int.MaxValue);
88
numericFrequency.Maximum = (int)Math.Min(numericMaximum.Value - numericMaximum.
Minimum
, int.MaxValue);