form1.frm
来自「蒋加伏主编VB程序设计第四版PPT及全部课本源码 北京邮电大学出版社 」· FRM 代码 · 共 97 行
FRM
97 行
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 5955
ClientLeft = 60
ClientTop = 345
ClientWidth = 9195
LinkTopic = "Form1"
ScaleHeight = 5955
ScaleWidth = 9195
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command4
Caption = "Command4"
Height = 735
Left = 7440
TabIndex = 4
Top = 4080
Width = 1455
End
Begin VB.CommandButton Command3
Caption = "关闭"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 7320
TabIndex = 3
Top = 3000
Width = 1695
End
Begin VB.CommandButton Command2
Caption = "显示图片二"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 7320
TabIndex = 2
Top = 1680
Width = 1695
End
Begin VB.CommandButton Command1
Caption = "显示图片一"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 7320
TabIndex = 1
Top = 600
Width = 1695
End
Begin VB.PictureBox Picture1
Height = 5655
Left = 0
ScaleHeight = 5595
ScaleWidth = 7155
TabIndex = 0
Top = 120
Width = 7215
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()
Picture1.Picture = LoadPicture(App.Path + "\tu1.jpg")
End Sub
Private Sub Command2_Click()
Picture1.Picture = LoadPicture(App.Path + "\tu2.jpg")
End Sub
Private Sub Command3_Click()
End
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?