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)
938Minimum = 5, 1014Minimum = value 1022control.Minimum = value; 1036Minimum = value 1050Minimum = value 1073control.Minimum = value; 1083control.Minimum = value; 1097Assert.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)
79Assert.Equal(0, control.Minimum); 918Assert.Equal(0, control.Minimum); 925Assert.Equal(0, control.Minimum); 941Assert.Equal(value, control.Minimum); 956Assert.Equal(0, control.Minimum); 975Assert.Equal(0, control.Minimum); 985Assert.Equal(0, control.Minimum); 1016Assert.Equal(value, control.Minimum); 1023Assert.Equal(value, control.Minimum); 1038Assert.Equal(value, control.Minimum); 1052Assert.Equal(value, control.Minimum); 1074Assert.Equal(value, control.Minimum); 1084Assert.Equal(value, control.Minimum); 1702Assert.Equal(0, control.Minimum); 1709Assert.Equal(0, control.Minimum); 1732Assert.Equal(0, control.Minimum); 1742Assert.Equal(0, control.Minimum);