15 writes to Minimum
System.Windows.Forms.Tests (13)
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (1)
482
Minimum
= minimum,
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (1)
379
Minimum
= minimum,
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (1)
380
Minimum
= minimum,
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarThumbAccessibleObjectTests.cs (1)
242
Minimum
= minimum,
TrackBarTests.cs (9)
788
Minimum
= 11
1117
Minimum
= 8,
1134
Minimum
= 8
1183
Minimum
= value
1193
control.
Minimum
= value;
1220
control.
Minimum
= value;
1235
control.
Minimum
= value;
1256
Minimum
= 12
1282
control.
Minimum
= 12;
WinFormsControlsTest (2)
TrackBars.cs (2)
13
trackBar1.
Minimum
= -100;
73
trackBar1.
Minimum
= (int)Math.Max(numericMinimum.Value, int.MinValue);
33 references to Minimum
System.Windows.Forms (10)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (7)
621
throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(
Minimum
)}'", $"'${nameof(Maximum)}'"));
826
_value =
Minimum
+ Maximum - _value;
832
_value =
Minimum
+ Maximum - _value;
965
Value = Math.Max(Value - absScrollBands,
Minimum
);
1113
reflectedValue =
Minimum
+ Maximum - _value;
1119
reflectedValue =
Minimum
+ Maximum - _value;
1165
public override string ToString() => $"{base.ToString()}, Minimum: {
Minimum
}, Maximum: {Maximum}, Value: {_value}";
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarFirstButtonAccessibleObject.cs (1)
43
: owner.
Minimum
!= owner.Value;
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarLastButtonAccessibleObject.cs (2)
45
if (owner.
Minimum
== owner.Maximum)
51
? owner.
Minimum
!= owner.Value
System.Windows.Forms.Tests (22)
TrackBarTests.cs (22)
80
Assert.Equal(0, control.
Minimum
);
1049
Assert.Equal(0, control.
Minimum
);
1058
Assert.Equal(0, control.
Minimum
);
1083
Assert.Equal(0, control.
Minimum
);
1098
Assert.Equal(0, control.
Minimum
);
1121
Assert.Equal(5, control.
Minimum
);
1146
Assert.Equal(5, control.
Minimum
);
1167
Assert.Equal(-1, control.
Minimum
);
1186
Assert.Equal(value, control.
Minimum
);
1195
Assert.Equal(value, control.
Minimum
);
1222
Assert.Equal(value, control.
Minimum
);
1237
Assert.Equal(value, control.
Minimum
);
1259
Assert.Equal(12, control.
Minimum
);
1284
Assert.Equal(12, control.
Minimum
);
1993
Assert.Equal(0, control.
Minimum
);
2002
Assert.Equal(0, control.
Minimum
);
2024
Assert.Equal(0, control.
Minimum
);
2033
Assert.Equal(0, control.
Minimum
);
2128
Assert.Equal(0, control.
Minimum
);
2141
Assert.Equal(0, control.
Minimum
);
3060
Assert.Equal(expectedMinimum, control.
Minimum
);
3096
Assert.Equal(expectedMinimum, control.
Minimum
);
WinFormsControlsTest (1)
TrackBars.cs (1)
15
numericMinimum.Value = trackBar1.
Minimum
;