Public
Class Form1
Private Sub Form1_Load(ByVal
sender As System.Object,
ByVal e As
System.EventArgs) Handles
MyBase.Load
Timer1.start()
End Sub
Private Sub Timer1_Tick(ByVal
sender As System.Object,
ByVal e As
System.EventArgs) Handles
Timer1.Tick
Label1.Text = TimeOfDay
Label2.Text = TimeOfDay.Second
End Sub
Private Sub Label2_textchanged(ByVal
sender As Object,
ByVal e As
System.EventArgs) Handles
Label2.TextChanged
Dim cambiar As VariantType
cambiar = Label2.Text
Select Case cambiar
Case
0 To 20
PictureBox1.BackgroundImage = My.Resources.uno
Case
21 To 40
PictureBox1.BackgroundImage = My.Resources.dos
Case
41 To 59
PictureBox1.BackgroundImage = My.Resources.tres
End Select
End Sub
End Class