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