9 writes to Minimum
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (1)
135ProgressBar.Minimum = value;
System.Windows.Forms.Tests (8)
System\Windows\Forms\ProgressBarTests.cs (8)
936Minimum = 5, 1012Minimum = value 1020control.Minimum = value; 1034Minimum = value 1048Minimum = value 1071control.Minimum = value; 1081control.Minimum = value; 1095Assert.Throws<ArgumentOutOfRangeException>("value", () => control.Minimum = -1);
21 references to Minimum
System.Windows.Forms (4)
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (2)
478throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, nameof(Minimum), nameof(Maximum))); 675=> $"{base.ToString()}, Minimum: {Minimum}, Maximum: {Maximum}, Value: {_value}";
System\Windows\Forms\Controls\ProgressBar\ProgressBar.ProgressBarAccessibleObject.cs (1)
52internal override double Minimum => this.TryGetOwnerAs(out ProgressBar? owner) ? owner.Minimum : 0;
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (1)
131return ProgressBar.Minimum;
System.Windows.Forms.Tests (17)
System\Windows\Forms\ProgressBarTests.cs (17)
77Assert.Equal(0, control.Minimum); 916Assert.Equal(0, control.Minimum); 923Assert.Equal(0, control.Minimum); 939Assert.Equal(value, control.Minimum); 954Assert.Equal(0, control.Minimum); 973Assert.Equal(0, control.Minimum); 983Assert.Equal(0, control.Minimum); 1014Assert.Equal(value, control.Minimum); 1021Assert.Equal(value, control.Minimum); 1036Assert.Equal(value, control.Minimum); 1050Assert.Equal(value, control.Minimum); 1072Assert.Equal(value, control.Minimum); 1082Assert.Equal(value, control.Minimum); 1700Assert.Equal(0, control.Minimum); 1707Assert.Equal(0, control.Minimum); 1730Assert.Equal(0, control.Minimum); 1740Assert.Equal(0, control.Minimum);