⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.frm

📁 上传的包含两个文件
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   4725
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   6900
   LinkTopic       =   "Form1"
   ScaleHeight     =   4725
   ScaleWidth      =   6900
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command1 
      Caption         =   "取消"
      Height          =   375
      Left            =   1560
      TabIndex        =   8
      Top             =   4320
      Width           =   615
   End
   Begin VB.TextBox Text1 
      Height          =   375
      Left            =   1440
      TabIndex        =   7
      Top             =   3600
      Width           =   2895
   End
   Begin VB.FileListBox File1 
      Height          =   2070
      Left            =   2520
      TabIndex        =   5
      Top             =   840
      Width           =   1335
   End
   Begin VB.DirListBox Dir1 
      Height          =   1350
      Left            =   240
      TabIndex        =   3
      Top             =   1800
      Width           =   1335
   End
   Begin VB.DriveListBox Drive1 
      Height          =   300
      Left            =   240
      TabIndex        =   0
      Top             =   720
      Width           =   1455
   End
   Begin VB.Image Image1 
      Height          =   1455
      Left            =   4320
      Stretch         =   -1  'True
      Top             =   960
      Width           =   1335
   End
   Begin VB.Label Label4 
      Caption         =   "所选文件为:"
      Height          =   255
      Left            =   120
      TabIndex        =   6
      Top             =   3720
      Width           =   1095
   End
   Begin VB.Label Label3 
      Caption         =   "文件名:"
      Height          =   255
      Left            =   2640
      TabIndex        =   4
      Top             =   240
      Width           =   855
   End
   Begin VB.Label Label2 
      Caption         =   "目录:"
      Height          =   255
      Left            =   480
      TabIndex        =   2
      Top             =   1320
      Width           =   735
   End
   Begin VB.Label Label1 
      Caption         =   "驱动器:"
      Height          =   255
      Left            =   480
      TabIndex        =   1
      Top             =   240
      Width           =   855
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
End
End Sub

Private Sub Dir1_Change()
ChDir Dir1.Path
File1.Path = Dir1
End Sub

Private Sub Drive1_Change()
ChDrive Drive1.Drive
Dir1.Path = Drive1.Drive
End Sub

Private Sub File1_Click()
Text1.Text = File1.Path + "\" + File1
'Image1.Picture = LoadPicture(File1)
End Sub

Private Sub Form_Load()
File1.Pattern = "*.exe"
End Sub

⌨️ 快捷键说明

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