|
-
September 9th, 2011, 09:00 AM
#1
Im new, need a little help :O)
I have made this botton, which make a timer start, and a processbar run. When it is finished, i want the processbar to reset, så i can click the botton again.
My timer look like this:
private void button1_Click(object sender, EventArgs e)
{
timer1.Enabled = true;
}
private void timer1_Tick(object sender, EventArgs e)
{
progressBar1.Minimum = 0;
progressBar1.Maximum = 300;
progressBar1.Step = 50;
progressBar1.PerformStep();
, But what next?
Thanks for help.
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
|