📄 form2.frm
字号:
VERSION 5.00
Begin VB.Form Form2
BorderStyle = 3 'Fixed Dialog
Caption = "添加照片"
ClientHeight = 2265
ClientLeft = 45
ClientTop = 435
ClientWidth = 3090
Icon = "Form2.frx":0000
LinkTopic = "Form2"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2265
ScaleWidth = 3090
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.DriveListBox Drive1
Height = 300
Left = 240
TabIndex = 2
Top = 240
Visible = 0 'False
Width = 2295
End
Begin VB.DirListBox Dir1
Height = 300
Left = 240
TabIndex = 1
Top = 720
Visible = 0 'False
Width = 2295
End
Begin VB.FileListBox File1
Height = 2070
Left = 120
TabIndex = 0
Top = 120
Width = 2895
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub File1_DblClick()
modifyStudinfo.Image1.Visible = True
modifyStudinfo.Image1.Picture = LoadPicture(App.Path & "\" & "photo" & "\" & File1.FileName)
modifyStudinfo.Text1(8).Text = File1.FileName
modifyStudinfo.Show
Form2.Hide
End Sub
Private Sub Form_Load()
File1.Path = App.Path & "\" & "photo"
File1.Pattern = "*.bmp;*.ico;*.jpg;*.jpeg;*.wmf"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -