📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 6510
ClientLeft = 60
ClientTop = 345
ClientWidth = 7350
LinkTopic = "Form1"
ScaleHeight = 6510
ScaleWidth = 7350
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command4
Caption = "消失"
Height = 375
Left = 2280
TabIndex = 3
Top = 840
Width = 855
End
Begin VB.CommandButton Command3
Caption = "显示"
Height = 375
Left = 120
TabIndex = 2
Top = 840
Width = 855
End
Begin VB.CommandButton Command2
Caption = "缩小"
Height = 375
Left = 2280
TabIndex = 1
Top = 120
Width = 855
End
Begin VB.CommandButton Command1
Caption = "放大"
Height = 375
Left = 120
TabIndex = 0
Top = 120
Width = 855
End
Begin VB.Shape Shape2
Height = 495
Left = 3120
Top = 3000
Width = 1215
End
Begin VB.Shape Shape1
Height = 495
Left = 3120
Top = 3000
Width = 1215
End
Begin VB.Image Image1
Height = 2100
Left = 120
Picture = "Form1.frx":0000
Stretch = -1 'True
Top = 1440
Width = 3135
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()
Image1.Width = Image1.Width * 1.2
Image1.Height = Image1.Height * 1.2
End Sub
Private Sub Command2_Click()
Image1.Width = Image1.Width / 1.2
Image1.Height = Image1.Height / 1.2
End Sub
Private Sub Command3_Click()
Image1.Visible = True
End Sub
Private Sub Command4_Click()
Image1.Visible = flase
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -