📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3180
ClientLeft = 60
ClientTop = 360
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3180
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.Timer Timer1
Interval = 100
Left = 1800
Top = 1320
End
Begin VB.Image Image1
Height = 1830
Index = 4
Left = 1680
Picture = "Form1.frx":0000
Top = 840
Visible = 0 'False
Width = 2325
End
Begin VB.Image Image1
Height = 1815
Index = 3
Left = 2040
Picture = "Form1.frx":DF4A
Top = 1200
Visible = 0 'False
Width = 2310
End
Begin VB.Image Image1
Height = 1800
Index = 2
Left = 1440
Picture = "Form1.frx":1BADC
Top = 840
Visible = 0 'False
Width = 2295
End
Begin VB.Image Image1
Height = 1830
Index = 1
Left = 840
Picture = "Form1.frx":292BE
Top = 600
Visible = 0 'False
Width = 2325
End
Begin VB.Image Image1
Height = 1845
Index = 0
Left = 0
Picture = "Form1.frx":37208
Top = 120
Visible = 0 'False
Width = 2325
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim Index As Integer ' 此一变量的声明须书写在程序区块之外
Private Sub Timer1_Timer()
Set Form1.Picture = Image1(Index).Picture
Index = Index + 1
If Index > 4 Then Index = 0
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -