This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Class Form1 | |
Dim t As Integer = 1 'declare globle variable t type of integer. | |
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load | |
Timer1.Start() 'start timer at form load. | |
End Sub | |
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Class Form1 | |
Dim t As Integer = 1 'declare globle variable t type of integer. | |
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load | |
Timer1.Start() 'start timer at form load. | |
End Sub | |
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick |