I am create a simple project for you look image for sample code.
- 
Add a timer for update values.And click timer one time set start with 
 application true
- 
And add two label.(Sample: label1 is progressbar value / label 2 is progressbar max. value) 
- 
And add a button for set progressbar max value. 
Code sample:
button1 click event:
progressBar1.Maximum = Int32.Parse(textBox1.value);
timer event: (don't forget set start true with application)
progressBar1.Increment(2); //Loading progressbar
label1.value = Convert.ToString(progressBar1.Value);
label2.value = Convert.ToString(progressBar1.Maximum);
And a image from sample project:
label3 is showing your progressBar max value with timer updating every 1ms.
label5 is showing your progressBar value.
2
solved How to add max value in Progressbar with label(textbox) in C#? [closed]
