Size Settings in Windows Forms Percent TextBox

28 Apr 2021 / 1 minute to read

The size of the PercentTextBox control can be set according to the needs of the user using the properties discussed below.

this.percentTextBox1.MaximumSize = new System.Drawing.Size(100, 25);
this.percentTextBox1.MinimumSize = new System.Drawing.Size(100, 25);
Me.percentTextBox1.MaximumSize = New System.Drawing.Size(100, 25)
Me.percentTextBox1.MinimumSize = New System.Drawing.Size(100, 25)

Percent text box size setting