frmxz.frm

来自「企业工资管理系统的具体实现」· FRM 代码 · 共 117 行

FRM
117
字号
VERSION 5.00
Begin VB.Form frmxz 
   Caption         =   "选择路径"
   ClientHeight    =   4500
   ClientLeft      =   4065
   ClientTop       =   2430
   ClientWidth     =   4410
   Icon            =   "frmxz.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   ScaleHeight     =   4500
   ScaleWidth      =   4410
   Begin VB.TextBox Text1 
      Height          =   315
      Left            =   120
      TabIndex        =   5
      Text            =   "Text1"
      Top             =   675
      Width           =   4110
   End
   Begin VB.CommandButton Command2 
      Caption         =   "取  消"
      Height          =   375
      Left            =   3000
      TabIndex        =   4
      Top             =   1965
      Width           =   1260
   End
   Begin VB.CommandButton Command1 
      Caption         =   "确  定"
      Enabled         =   0   'False
      Height          =   375
      Left            =   3000
      TabIndex        =   3
      Top             =   1455
      Width           =   1260
   End
   Begin VB.DirListBox Dir1 
      Height          =   2400
      Left            =   120
      TabIndex        =   1
      Top             =   1425
      Width           =   2505
   End
   Begin VB.DriveListBox Drive1 
      Height          =   300
      Left            =   120
      TabIndex        =   0
      Top             =   4125
      Width           =   2520
   End
   Begin VB.Label Label4 
      AutoSize        =   -1  'True
      Caption         =   "路径:"
      Height          =   180
      Left            =   105
      TabIndex        =   8
      Top             =   405
      Width           =   540
   End
   Begin VB.Label Label3 
      AutoSize        =   -1  'True
      Caption         =   "文件夹:"
      Height          =   180
      Left            =   105
      TabIndex        =   7
      Top             =   1155
      Width           =   720
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      Caption         =   "驱动器:"
      Height          =   180
      Left            =   105
      TabIndex        =   6
      Top             =   3885
      Width           =   720
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      Caption         =   "选择要进行备份的文件夹。"
      Height          =   180
      Left            =   105
      TabIndex        =   2
      Top             =   90
      Width           =   2160
   End
End
Attribute VB_Name = "frmxz"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
frmsjbf.Text1.Text = Text1.Text
Unload Me
End Sub

Private Sub Command2_Click()
Unload Me
End Sub

Private Sub Dir1_Change()
Text1.Text = Dir1.path
Command1.Enabled = True

End Sub

Private Sub Drive1_Change()
Dir1.path = Drive1.Drive
End Sub

Private Sub Form_Load()
Text1.Text = Dir1.path
End Sub

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?