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

📄 form4.frm

📁 一个用vb编写指纹识别程序
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form4 
   Caption         =   "Form4"
   ClientHeight    =   5415
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   5835
   LinkTopic       =   "Form4"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   5415
   ScaleWidth      =   5835
   StartUpPosition =   3  '窗口缺省
   Begin VB.DirListBox Dir1 
      Height          =   2820
      Left            =   480
      TabIndex        =   5
      Top             =   1560
      Width           =   2175
   End
   Begin VB.FileListBox File1 
      Height          =   2610
      Left            =   3120
      TabIndex        =   4
      Top             =   1560
      Width           =   2175
   End
   Begin VB.DriveListBox Drive1 
      Height          =   300
      Left            =   480
      TabIndex        =   3
      Top             =   4680
      Width           =   2175
   End
   Begin VB.CommandButton Command1 
      Caption         =   "确  定"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   3720
      TabIndex        =   2
      Top             =   4560
      Width           =   1215
   End
   Begin VB.TextBox Text1 
      Height          =   375
      Left            =   480
      TabIndex        =   1
      Top             =   600
      Width           =   4815
   End
   Begin VB.Label Label3 
      Caption         =   "BMP文件格式"
      Height          =   255
      Left            =   3120
      TabIndex        =   7
      Top             =   1200
      Width           =   1215
   End
   Begin VB.Label Label2 
      Caption         =   "请选择文件夹"
      Height          =   255
      Left            =   480
      TabIndex        =   6
      Top             =   1200
      Width           =   1215
   End
   Begin VB.Label Label1 
      Caption         =   "输入的指纹文件"
      Height          =   255
      Left            =   480
      TabIndex        =   0
      Top             =   240
      Width           =   1335
   End
End
Attribute VB_Name = "Form4"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form1.Picture1.Picture = LoadPicture(Text1.Text)
Form1.Command9.Enabled = True
Form1.Command1.Enabled = True
Form4.Hide
Form1.Picture2.Refresh
Form1.Picture3.Refresh
End Sub

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

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

Private Sub File1_Click()
Text1.Text = File1.Path + "\" + File1
End Sub

Private Sub File1_DblClick()
Form1.Picture1.Picture = LoadPicture(Text1.Text)
Form1.Command9.Enabled = True
Form1.Command1.Enabled = True
Form4.Hide
Form1.Picture2.Refresh
Form1.Picture3.Refresh
End Sub

Private Sub Form_Load()
File1.Pattern = "*.bmp"
Command1.Enabled = False
End Sub

Private Sub Form_Unload(Cancel As Integer)
Form1.Command1.Enabled = True
End Sub

Private Sub Text1_Change()
Command1.Enabled = True
End Sub

⌨️ 快捷键说明

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