Requis :
Codage du Timer 1 :
Codage du Timer 2 :
Codage du Button x1 :
Codage du Button x2 :
A bientot
Vous devez être inscrit pour voir les liens ! Inscrivez-vous ou connectez-vous ici.
Codage du Timer 1 :
Code:
progressBar1.Value = Convert.ToInt32(progressBar1.Value) + 50;
if (Convert.ToInt32(progressBar1.Value) > 0)
{
timer1.Enabled = false;
}
Codage du Timer 2 :
Code:
progressBar1.Value = Convert.ToInt32(progressBar1.Value) + 50;
if (Convert.ToInt32(progressBar1.Value) > 0)
{
timer2.Enabled = false;
}
Codage du Button x1 :
Code:
timer1.Enabled = true;
Codage du Button x2 :
Code:
timer2.Enabled = true;
A bientot