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.