This is the code that i would like shortenning, it uses a progress bar and a label that counts down with it: I’m using the language of VB
If ProgressBar1.Value = 33 And Label2.Text = "Now: Hold down power button (3 seconds)" Then
Label2.Text = "Now: Hold down power button (2 seconds)"
End If
If ProgressBar1.Value = 66 And Label2.Text = "Now: Hold down power button (2 seconds)" Then
Label2.Text = "Now: Hold down power button (1 seconds)"
End If
If ProgressBar1.Value = 99 And Label2.Text = "Now: Hold down power button (1 seconds)" Then
Label2.Text = "Now: Hold down power button (0 seconds)"
End If
If ProgressBar1.Value = 100 And Label2.Text = "Now: Hold down power button (0 seconds)" Then
Label2.Text = "Now: Also hold down the home button (10 seconds)"
Label2.Location = New Point(30, Label2.Location.Y)
Label3.Text = "Next: Release the power button only (15 seconds)"
ProgressBar1.Value = 0
End If
Yes there is: