Click here to Skip to main content
15,896,726 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello. I want to use ProgessBar in GUI Form in C#. Please give me code with example
Thank you...
Posted
Updated 4-Oct-10 3:29am
v2
Comments
Hiren solanki 4-Oct-10 5:46am    
you will have lots of search item if you know 'google',
try to make progressbar of your own and in any case you stuck, come here.
we will try to solve it.
Smithers-Jones 4-Oct-10 10:09am    
Repost.

Google will help you out just fine if you have these kind of questions.

http://support.microsoft.com/kb/323116[^]

Good luck!
 
Share this answer
 
For using progress bar u have to use a timer control also .
Enable timer in property box and writ code as:
C#
private void timer1_Tick(object sender, EventArgs e)
       {
           int d;
           for (d = 0; d<= 100; d++)
               progressBar1.Value = d;
           this.Visible = false;
           Login l = new Login();  // Show whatever you want
           l.Show();
           timer1.Enabled = false;  //Disable timer
       }


And for progress bar , initialize value of it to 100
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900