Click here to Skip to main content
11,712,792 members (79,674 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# GUI
Hello. I want to use ProgessBar in GUI Form in C#. Please give me code with example
Thank you...
Posted 3-Oct-10 23:33pm
Edited 4-Oct-10 3:29am
v2
Comments
Hiren Solanki at 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 at 4-Oct-10 10:09am
   
Repost.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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

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

Good luck!
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

For using progress bar u have to use a timer control also .
Enable timer in property box and writ code as:
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
  Permalink  

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

  Print Answers RSS
0 CHill60 335
1 Sergey Alexandrovich Kryukov 300
2 OriginalGriff 230
3 Andy Lanng 160
4 Maciej Los 130
0 CHill60 335
1 Sergey Alexandrovich Kryukov 300
2 OriginalGriff 230
3 Andy Lanng 160
4 Maciej Los 130


Advertise | Privacy | Mobile
Web04 | 2.8.150819.1 | Last Updated 4 Oct 2010
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100