Public Class Form1 Dim counter As Integer Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick counter = counter + 1 Label7.Text = counter End Sub Private Sub Timer2_Tick(sender As Object, e As EventArgs) Handles Timer2.Tick Label9.Text = Val(Label7.Text) counter = Val(Label7.Text) - counter End Sub End Class
System.Windows.Forms.Timer
Control.Invoke
Control.BeginInvoke
System.Threading.Timer
System.Timers.Timer
System.Diagnostics.Stopwatch
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)