
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.Enabled = True
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
PictureBox1.Image = PictureBox2.Image
PictureBox2.Image = PictureBox3.Image
PictureBox3.Image = PictureBox1.Image
If Label1.Top <= 0 Then
Label1.Top = Me.Height
Else
Label1.Top = Label1.Top - 10
End If
End Sub
End Class
吸烟有害的实验
Timer1.Enabled = True
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
PictureBox1.Image = PictureBox2.Image
PictureBox2.Image = PictureBox3.Image
PictureBox3.Image = PictureBox1.Image
If Label1.Top <= 0 Then
Label1.Top = Me.Height
Else
Label1.Top = Label1.Top - 10
End If
End Sub
End Class
吸烟有害的实验
