|
-
Nov 20th, 2003, 04:24 PM
#1
Thread Starter
Member
[c# newb] how do you use progress bars?
i think the title says it all. i am by no means advanced in c#. in fact, im a total noob. can someone teach me about progress bars or refer me to a place that talks about them in easy-to-understand terms? thank you all in advance.
-
Nov 21st, 2003, 03:11 AM
#2
Hyperactive Member
Is that something you are looking for?
First you need to set a MaximumValue of the bar, and then set its value to 0. You cann then add "bars" to it using
Code:
progressBar.Value = progressBar.Value +1;
oh and heres a lot more bout Progressbars.
http://www.c-sharpcorner.com/1/pbar.asp
HTH, Stephan
Last edited by Sgt-Peppa; Nov 21st, 2003 at 03:14 AM.
Keep Smiling - even if its hard 
Frankie Says Relax, wossname Says Yeah!
wossname:--Currently I'm wearing a gimp suit and a parachute.
C# - Base64 Blog
-
Nov 21st, 2003, 08:33 AM
#3
Thread Starter
Member
-
Nov 22nd, 2003, 09:48 AM
#4
yay gay
Originally posted by Sgt-Peppa
Is that something you are looking for?
First you need to set a MaximumValue of the bar, and then set its value to 0. You cann then add "bars" to it using
Code:
progressBar.Value = progressBar.Value +1;
oh and heres a lot more bout Progressbars.
http://www.c-sharpcorner.com/1/pbar.asp
HTH, Stephan
actually you should do:
Code:
progressBar.Value++;
\m/  \m/
-
Nov 22nd, 2003, 02:19 PM
#5
PowerPoster
Originally posted by PT Exorcist
actually you should do:
Code:
progressBar.Value++;
or progressBar.Value += 1;
lol.
-
Nov 24th, 2003, 05:37 AM
#6
Or
++progressBar.Value
though that is less an issue in C# than in C++.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 24th, 2003, 08:16 AM
#7
although , PerformStep(); is ideal for the job.
Code:
progressBar.Step = 1;
'/// then in the area where you wish to increase the value of the progressBar...
progressBar.PerformStep();
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|