📄 frmopendir.frm
字号:
VERSION 5.00
Begin VB.Form frmopendir
BorderStyle = 1 'Fixed Single
Caption = "请打开备份文件的目录"
ClientHeight = 3195
ClientLeft = 45
ClientTop = 330
ClientWidth = 3075
Icon = "frmopendir.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3195
ScaleWidth = 3075
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame1
Height = 3135
Left = 120
TabIndex = 0
Top = 0
Width = 2895
Begin VB.CommandButton Command1
Caption = "取 消"
Height = 375
Left = 1440
TabIndex = 5
Top = 2640
Width = 855
End
Begin VB.CommandButton cmdSure
Caption = "确 定"
Height = 375
Left = 360
TabIndex = 4
Top = 2640
Width = 855
End
Begin VB.DirListBox Dir1
Height = 1350
Left = 120
TabIndex = 3
Top = 1080
Width = 2415
End
Begin VB.DriveListBox Drive1
Height = 300
Left = 120
TabIndex = 2
Top = 600
Width = 2415
End
Begin VB.Label Label1
Caption = "请选择您要备份的目录:"
Height = 255
Left = 240
TabIndex = 1
Top = 240
Width = 2175
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 + -