📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 5175
ClientLeft = 60
ClientTop = 450
ClientWidth = 6075
LinkTopic = "Form1"
ScaleHeight = 5175
ScaleWidth = 6075
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command3
Caption = "恢复"
Height = 615
Left = 3600
TabIndex = 3
Top = 3960
Width = 975
End
Begin VB.CommandButton Command2
Caption = "暂停"
Height = 615
Left = 2160
TabIndex = 2
Top = 3960
Width = 975
End
Begin VB.CommandButton Command1
Caption = "放大"
Height = 615
Left = 720
TabIndex = 1
Top = 3960
Width = 1095
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 500
Left = 360
Top = 3000
End
Begin VB.VScrollBar VScroll1
Height = 4215
LargeChange = 30
Left = 5400
Max = 1000
TabIndex = 0
Top = 240
Width = 615
End
Begin VB.Image Image1
Height = 1575
Left = 120
Picture = "Form1.frx":0000
Stretch = -1 'True
Top = 120
Width = 2100
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Timer1.Enabled = True
End Sub
Private Sub Command2_Click()
Timer1.Enabled = False
End Sub
Private Sub Command3_Click()
Image1.Height = 1695
Image1.Width = 1860
End Sub
Private Sub Timer1_Timer()
Image1.Height = Image1.Height + 200
Image1.Width = Image1.Width + 200
End Sub
Private Sub VScroll1_Change()
Timer1.Interval = VScroll1.Value / 10
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -