📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 5655
ClientLeft = 60
ClientTop = 450
ClientWidth = 8625
LinkTopic = "Form1"
ScaleHeight = 5655
ScaleWidth = 8625
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command3
Caption = "结束"
Height = 375
Left = 7080
TabIndex = 2
Top = 4680
Width = 855
End
Begin VB.CommandButton command2
Caption = "停止"
Height = 375
Left = 3600
TabIndex = 1
Top = 4680
Width = 855
End
Begin VB.CommandButton Command1
Caption = "运行"
Height = 375
Left = 480
TabIndex = 0
Top = 4680
Width = 855
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 1000
Left = 0
Top = 0
End
Begin VB.Image Image8
Height = 840
Left = 1320
Picture = "Form1.frx":0000
Stretch = -1 'True
Top = 1800
Width = 705
End
Begin VB.Line Line2
X1 = 3720
X2 = 3720
Y1 = 1080
Y2 = 3600
End
Begin VB.Line Line1
X1 = 2040
X2 = 5280
Y1 = 2280
Y2 = 2280
End
Begin VB.Image Image3
Height = 840
Left = 3360
Picture = "Form1.frx":0442
Stretch = -1 'True
Top = 240
Width = 705
End
Begin VB.Image Image1
Height = 840
Left = 3360
Picture = "Form1.frx":0884
Stretch = -1 'True
Top = 240
Width = 705
End
Begin VB.Image Image12
Height = 840
Left = 5280
Picture = "Form1.frx":0CC6
Stretch = -1 'True
Top = 1800
Width = 705
End
Begin VB.Image Image11
Height = 840
Left = 5280
Picture = "Form1.frx":1108
Stretch = -1 'True
Top = 1800
Width = 705
End
Begin VB.Image Image10
Height = 840
Left = 5280
Picture = "Form1.frx":154A
Stretch = -1 'True
Top = 1800
Width = 705
End
Begin VB.Image Image7
Height = 840
Left = 1320
Picture = "Form1.frx":198C
Stretch = -1 'True
Top = 1800
Width = 705
End
Begin VB.Image Image6
Height = 840
Left = 3360
Picture = "Form1.frx":1DCE
Stretch = -1 'True
Top = 3480
Width = 705
End
Begin VB.Image Image5
Height = 840
Left = 3360
Picture = "Form1.frx":2210
Stretch = -1 'True
Top = 3480
Width = 705
End
Begin VB.Image Image4
Height = 840
Left = 3360
Picture = "Form1.frx":2652
Stretch = -1 'True
Top = 3480
Width = 705
End
Begin VB.Image Image2
Height = 840
Left = 3360
Picture = "Form1.frx":2A94
Stretch = -1 'True
Top = 240
Width = 705
End
Begin VB.Image Image9
Height = 840
Left = 1320
Picture = "Form1.frx":2ED6
Stretch = -1 'True
Top = 1800
Width = 705
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim i As Integer
Private Sub Command1_Click()
Timer1.Enabled = True
End Sub
Private Sub command2_Click()
Timer1.Enabled = False
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Timer1_Timer()
i = i + 1
If i = 1 Then
Image1.Visible = False
Image2.Visible = False
Image3.Visible = True
Image4.Visible = False
Image5.Visible = False
Image6.Visible = True
Image8.Visible = False
Image9.Visible = False
Image7.Visible = True
Image11.Visible = False
Image12.Visible = False
Image10.Visible = True
ElseIf i = 7 Then
Image1.Visible = False
Image2.Visible = True
Image3.Visible = False
Image4.Visible = False
Image5.Visible = True
Image6.Visible = False
Image8.Visible = False
Image9.Visible = False
Image7.Visible = True
Image11.Visible = False
Image12.Visible = False
Image10.Visible = True
ElseIf i = 10 Then
Image1.Visible = True
Image2.Visible = False
Image3.Visible = False
Image4.Visible = True
Image5.Visible = False
Image6.Visible = False
Image8.Visible = False
Image7.Visible = False
Image9.Visible = True
Image11.Visible = False
Image10.Visible = False
Image12.Visible = True
ElseIf i = 17 Then
Image1.Visible = True
Image2.Visible = False
Image3.Visible = False
Image4.Visible = True
Image5.Visible = False
Image6.Visible = False
Image7.Visible = False
Image9.Visible = False
Image8.Visible = True
Image10.Visible = False
Image12.Visible = False
Image11.Visible = True
ElseIf i = 20 Then
i = 0
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -