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