private void timer1_Tick(object sender, EventArgs e)
{
progress++;
time++;
label3.Text = Convert.ToString(time);
progressBar1.Value = (progress);
if (Convert.ToInt32(label3.Text) == 10)
{
label3.Text = Convert.ToString(0);
}
if (Convert.ToInt32(label3.Text) == 4)
{
label1.Text = Convert.ToString(rezult);
}
if (progress == 60)
{
progress = 0;
}
}
private void timer1_Tick(object sender, EventArgs e)
{
time++;
label3.Text = Convert.ToString(time);
if (time == 3)
{
label1.Text = Convert.ToString(rezult);
time = -1;
}
}