改成一下
Timertick :
Static i As IntegerIf i = 0 Then i = 1End If
e.Form.panel.backgroundimage=getimage("C:\项目1\Images\图片\" & i & ".jpg")
i = i + 1If i = 10 Then i = 1End If
Afterload:
e.Form.TimerInterval = 10000e.Form.TimerEnabled = True
e.Form.Panel.backgroundimage = getimage("C:\项目1\Images\图片\1.jpg")