32 writes to Maximum
System.Windows.Forms (2)
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
589
Maximum
= DefaultMaximum;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
902
_pageCounter.
Maximum
= new decimal(1000d);
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\FormatControl.Designer.cs (1)
135
decimalPlacesUpDown.
Maximum
= new decimal(new int[] {
System\Windows\Forms\Design\StyleEditorForm.cs (2)
399
_absoluteNumericUpDown.
Maximum
= new decimal(99999u);
433
_percentNumericUpDown.
Maximum
= new decimal(9999u);
System.Windows.Forms.Tests (15)
NumericUpDownTests.cs (15)
325
upDown.
Maximum
= maximumValue;
339
upDown.
Maximum
= maximumValue;
349
upDown.
Maximum
= 10;
359
upDown.
Maximum
= 30;
579
upDown.
Maximum
= 200;
664
using NumericUpDown upDown = new() { Value = 10, Minimum = 0,
Maximum
= 20, Increment = 1, Text = "30" };
732
upDown.
Maximum
= 100;
741
using NumericUpDown upDown = new() { Value = 100,
Maximum
= 100, Increment = 1 };
757
using NumericUpDown upDown = new() { Value = 10, Minimum = 0,
Maximum
= 20, Increment = 1, Text = "30" };
765
using NumericUpDown upDown = new() { Value = 100,
Maximum
= 100 };
773
using NumericUpDown upDown = new() { Value = 99,
Maximum
= 100 };
781
using NumericUpDown upDown = new() { Value = 100,
Maximum
= 100 };
789
using SubNumericUpDown upDown = new() { Value = 100,
Maximum
= 100, PublicUserEdit = true };
798
upDown.
Maximum
= decimal.MaxValue;
808
upDown.
Maximum
= decimal.MaxValue;
WinFormsControlsTest (12)
ComboBoxesWithScrollBars.Designer.cs (6)
136
this.changeDDH_UpDown1.
Maximum
= new decimal(new int[] {
161
this.changeCBHeight_UpDown2.
Maximum
= new decimal(new int[] {
184
this.changeDDH_UpDown3.
Maximum
= new decimal(new int[] {
213
this.maxDropDownItemsUpDown1.
Maximum
= new decimal(new int[] {
226
this.maxDropDownItemsUpDown2.
Maximum
= new decimal(new int[] {
240
this.maxDropDownItemsUpDown3.
Maximum
= new decimal(new int[] {
DataGridViewTest.Designer.cs (1)
161
this.numericUpDown1.
Maximum
= new decimal(new int[] {
ScrollBars.cs (1)
19
numericMinimum.
Maximum
= numericMaximum.Value;
TrackBars.cs (3)
75
numericFrequency.
Maximum
= (int)Math.Min(numericMaximum.Value - numericMaximum.Minimum, int.MaxValue);
87
numericMinimum.
Maximum
= numericMaximum.Value;
88
numericFrequency.
Maximum
= (int)Math.Min(numericMaximum.Value - numericMaximum.Minimum, int.MaxValue);
TrackBars.Designer.cs (1)
166
this.numericMaximum.
Maximum
= new decimal(new int[] {
13 references to Maximum
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
)}'"));
612
/// Indicates whether the <see cref="
Maximum
"/> property should be persisted.
616
return !
Maximum
.Equals(DefaultMaximum);
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 (6)
NumericUpDownTests.cs (6)
327
upDown.
Maximum
.Should().Be(maximumValue);
341
upDown.
Maximum
.Should().Be(maximumValue);
351
upDown.
Maximum
.Should().Be(20);
361
upDown.
Maximum
.Should().Be(30);
552
upDown.
Maximum
.Should().Be(100);
580
upDown.
Maximum
.Should().Be(200);
WinFormsControlsTest (2)
TrackBars.cs (2)
76
if (numericFrequency.
Maximum
== 0)
89
if (numericFrequency.
Maximum
== 0)