|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Nov 2007
Messaggi: 316
|
[c#]Cronometro nella form
Ciao ho bisogno d'aiuto
vorrei mettere un label in una Form che effettua un conto alla rovesciatnx |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Dec 2004
Messaggi: 3210
|
Codice:
private int boom = 10;
private void timer1_Tick(object sender, EventArgs e)
{
label1.Text = boom.ToString();
if (boom == 0)
{
label1.Text = "BOOOOMMM !!!";
timer1.Enabled = false;
}
else
{
boom -= 1;
}
}
|
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Nov 2007
Messaggi: 316
|
Grazie mille
Ultima modifica di ohi : 14-10-2009 alle 16:07. |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 15:07.










vorrei mettere un label in una Form che effettua un conto alla rovescia








