Créé un compte a rebour

Publié le par P1l0u



Video démonstration :

 

Codes sources :

 

Public Class Form1

    Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click

    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Timer1.Start()
        Button1.Visible = False
        Label1.Visible = True


    End Sub

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        Label1.Text -= 1
        If Label1.Text = 0 Then
            Timer1.Stop()
        End If
    End Sub
End Class

Publié dans Codes sources

Pour être informé des derniers articles, inscrivez vous :
Commenter cet article
K
<br /> Merci<br /> <br /> <br />
Répondre