📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "表情游戏 葛虹希 084771406"
ClientHeight = 4950
ClientLeft = 60
ClientTop = 450
ClientWidth = 11205
LinkTopic = "Form1"
ScaleHeight = 4950
ScaleWidth = 11205
StartUpPosition = 3 '窗口缺省
Begin VB.Timer Timer1
Interval = 500
Left = 240
Top = 240
End
Begin VB.CommandButton Command2
Caption = "结 束"
BeginProperty Font
Name = "微软雅黑"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 5640
TabIndex = 1
Top = 3720
Width = 1935
End
Begin VB.CommandButton Command1
Caption = "播 放"
BeginProperty Font
Name = "微软雅黑"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 3000
TabIndex = 0
Top = 3720
Width = 1935
End
Begin VB.Label Label1
Alignment = 2 'Center
Caption = "表 情 游 戏"
BeginProperty Font
Name = "微软雅黑"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 2760
TabIndex = 2
Top = 360
Width = 5295
End
Begin VB.Image Image1
Height = 1920
Index = 6
Left = 9000
Picture = "Form1.frx":0000
Top = 1320
Width = 1920
End
Begin VB.Image Image1
Height = 1920
Index = 5
Left = 7440
Picture = "Form1.frx":0AF2
Top = 1320
Width = 1920
End
Begin VB.Image Image1
Height = 1920
Index = 4
Left = 6000
Picture = "Form1.frx":1742
Top = 1320
Width = 1920
End
Begin VB.Image Image1
Height = 1920
Index = 3
Left = 4440
Picture = "Form1.frx":26C5
Top = 1320
Width = 1920
End
Begin VB.Image Image1
Height = 1920
Index = 2
Left = 3000
Picture = "Form1.frx":341D
Top = 1320
Width = 1920
End
Begin VB.Image Image1
Height = 1920
Index = 1
Left = 1440
Picture = "Form1.frx":4272
Top = 1320
Width = 1920
End
Begin VB.Image Image1
Height = 1920
Index = 0
Left = 0
Picture = "Form1.frx":4FD7
Top = 1320
Width = 1920
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 Form_Load()
Timer1.Enabled = False
For i = 1 To 6
Image1(i).Stretch = True
Image1(i - 1).Visible = False
Image1(i).Visible = True
Next i
i = 0
End Sub
Private Sub Timer1_Timer()
If i >= 6 Then
i = 0
Image1(6).Visible = False
Image1(0).Visible = True
Else
Image1(i + 1).Visible = True
Image1(i).Visible = False
i = i + 1
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -