form1.frm
来自「VB程序设计示例及源代码,这是某本书中的一些例子与源代码,是清华大学出版社的.」· FRM 代码 · 共 61 行
FRM
61 行
VERSION 5.00
Begin VB.Form Form1
Caption = "图片浏览器"
ClientHeight = 4650
ClientLeft = 60
ClientTop = 345
ClientWidth = 6465
LinkTopic = "Form1"
ScaleHeight = 4650
ScaleWidth = 6465
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command3
Caption = "退出系统"
Height = 495
Left = 4680
TabIndex = 2
Top = 3960
Width = 1335
End
Begin VB.CommandButton Command2
Caption = "装载图片2"
Height = 495
Left = 2520
TabIndex = 1
Top = 3960
Width = 1335
End
Begin VB.CommandButton Command1
Caption = "装载图片1"
Height = 495
Left = 360
TabIndex = 0
Top = 3960
Width = 1335
End
Begin VB.Image Image1
Height = 3510
Left = 240
Top = 240
Width = 6000
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.Picture = LoadPicture("C:\samples\first\yinyuedt.jpg")
End Sub
Private Sub Command2_Click()
Image1.Picture = LoadPicture("C:\samples\first\Tulup.bmp")
End Sub
Private Sub Command3_Click()
End
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?