📄 file_open.frm
字号:
VERSION 5.00
Begin VB.Form Form2
Caption = "打开文件"
ClientHeight = 5565
ClientLeft = 60
ClientTop = 345
ClientWidth = 8340
Icon = "file_open.frx":0000
LinkTopic = "Form2"
ScaleHeight = 5565
ScaleWidth = 8340
StartUpPosition = 3 '窗口缺省
Begin VB.FileListBox File1
Height = 5310
Left = 4200
Pattern = "*.pdf"
TabIndex = 1
Top = 120
Width = 3975
End
Begin VB.DirListBox Dir1
Height = 5340
Left = 120
TabIndex = 0
Top = 120
Width = 3915
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Dir1_Change()
File1.Path = Dir1.Path
End Sub
Private Sub File1_Click()
Form1.AcroPDF1.LoadFile (File1.Path & "\" & File1.FileName)
Form2.Hide
End Sub
Private Sub Form_Load()
Dir1.Path = App.Path
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -