Visual Basic 2005 Tutorial 3: How to make a StopwatchIn this video, I will explain you how to make a simple stopwatch in visual basic 2005 or 2008. Codes: Button1_Click: timer1.enabled = True timer1.interval = 1000 Button2_Click: Timer1.Enabled = False Button3_Click: Label1.Text = "0" Label2.Text = "00" Timer1_Tick: Label2.Text += 1 If Label2.Text = "60" Then Label1.Text += 1 Label2.Text = "00" End If ©2009 - STP - All Rights Reserved code pour embarquer la vidéo : >>> http://www.youtube.com/embed/uYjLWs04AcI <<< |