📄 frmopendir.frm
字号:
VERSION 5.00
Begin VB.Form frmopendir
Caption = "请打开备份文件的目录"
ClientHeight = 2625
ClientLeft = 60
ClientTop = 450
ClientWidth = 3165
LinkTopic = "Form1"
ScaleHeight = 2625
ScaleWidth = 3165
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame1
Height = 2595
Left = 0
TabIndex = 0
Top = 0
Width = 3195
Begin VB.DirListBox Dir1
Height = 1140
Left = 210
TabIndex = 4
Top = 810
Width = 2775
End
Begin VB.DriveListBox Drive1
Height = 300
Left = 210
TabIndex = 3
Top = 510
Width = 2775
End
Begin VB.CommandButton cmdSure
Caption = "确定"
Default = -1 'True
Height = 345
Left = 300
TabIndex = 2
Top = 2100
Width = 1155
End
Begin VB.CommandButton Command1
Cancel = -1 'True
Caption = "取消"
Height = 345
Left = 1680
TabIndex = 1
Top = 2100
Width = 1155
End
Begin VB.Label Label1
Caption = "请打开备份文件的目录:"
Height = 285
Left = 240
TabIndex = 5
Top = 240
Width = 2415
End
End
End
Attribute VB_Name = "frmopendir"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public strSelDir As String
Private Sub cmdSure_Click()
strSelDir = Trim(Dir1.Path)
Unload Me
End Sub
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Drive1_Change()
Dir1.Path = Drive1.Drive
End Sub
Private Sub Form_Load()
m_iBeginSaveTimer = 0
strSelDir = ""
Drive1.Drive = "c:"
Dir1.Path = "c:"
End Sub
Private Sub Form_Unload(Cancel As Integer)
m_iBeginSaveTimer = 0
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -