Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Label1.Left = Label1.Left - 10
If Label1.Left < 0 Then
Timer2.Enabled = True
End If
If Label1.Left < 0 - Label1.Width Then
Timer1.Enabled = False
Label1.Left = Me.Width
End If
Me.Refresh()
End Sub
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
Label2.Left = Label2.Left - 10
If Label2.Left < 0 Then
Timer1.Enabled = True
End If
If Label2.Left < 0 - Label2.Width Then
Timer2.Enabled = False
Label2.Left = Me.Width
End If
Me.Refresh()
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Label1.Left = Me.Width
Label2.Left = Me.Width
End Sub