TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
How to create a simple progressbar
safi azam
Oct 29, 2010
6.3
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
Equitment: 2 buttons. 1 button saying Start the other saying stop. 1 timer.
Drag 2 buttons:
1st button: Start
2ndButton: Stop
Drag a 1 timer:
Button1 code:
Timer1.start()
Button2 code:
Timer1.stop()
Timer code:
Progressbar1.Increcement(1)
If progressbar1.Value = Progressbar1.maximum then
End If
So you should have done all of that.
Then click the debugg button or f5.
And click the start button and the progressbar should go..
But if you want the progressbar to become really slow..
Then click the timer look at the properties: And change the interval to a high value.
But if you want the progressbar to become really fast..
The click the timer look at the properties: And change the interval to 1 (Lowest you can go.)
If you are using windows classic. You can change the style of the progressbar. To Blocks. Or to continues. Or marquee!
So go to the progressbar properties: Go down and you should see the style: That has 3 diffrent styles.
Chose your styles.
: BLOCKS
: CONTINUES
: MARQUEE
So chose your style.
Now you can do this in windows 7, windows XP, windows vista, windows classic.
..
How to create a simple progressbar