0
The value of progressbar.value
Hi, can progressbar1.value be taken from textbox1.text, that is, if you enter 40 in textbox1, progressbar1 is filled by 40%? C#
2 ответов
0
If you can copy textbox1.Text into a string and convert that string into number, then you can use the number as the progressbar1.Value.
Use `int.TryParse` to convert the string into number, in case the string doesn't represent a valid numeric string.
+ 3
Yea
Progressbar1.value=
Convert.ToInt(textbox1.text);