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

📄 frmvalidate.frm

📁 School Library system to manage students borrowing and returning books
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmValidate 
   AutoRedraw      =   -1  'True
   Caption         =   "Validate"
   ClientHeight    =   2295
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4335
   Icon            =   "frmValidate.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MDIChild        =   -1  'True
   Picture         =   "frmValidate.frx":0442
   ScaleHeight     =   2295
   ScaleMode       =   0  'User
   ScaleWidth      =   43.058
   ShowInTaskbar   =   0   'False
   Begin VB.Frame Frame1 
      Caption         =   "Validate"
      Height          =   2055
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   4215
      Begin VB.CommandButton cmdCancel 
         Caption         =   "&Cancel"
         Height          =   375
         Left            =   960
         TabIndex        =   6
         Top             =   1440
         Width           =   975
      End
      Begin VB.CommandButton Vmdok 
         Caption         =   "&Ok"
         Height          =   375
         Left            =   2040
         TabIndex        =   5
         Top             =   1440
         Width           =   975
      End
      Begin VB.TextBox txtnewpass 
         Height          =   285
         IMEMode         =   3  'DISABLE
         Left            =   1800
         PasswordChar    =   "*"
         TabIndex        =   4
         Top             =   960
         Width           =   1935
      End
      Begin VB.TextBox txtnewuser 
         Height          =   285
         Left            =   1800
         TabIndex        =   1
         Top             =   600
         Width           =   1935
      End
      Begin VB.Label oldpass 
         Caption         =   "New Password"
         Height          =   255
         Left            =   360
         TabIndex        =   3
         Top             =   960
         Width           =   1215
      End
      Begin VB.Label Oldusername 
         Caption         =   "New User Name"
         Height          =   375
         Left            =   360
         TabIndex        =   2
         Top             =   600
         Width           =   1215
      End
   End
End
Attribute VB_Name = "frmValidate"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdcancel_Click()
frmValidate.Hide
frmgsettings.Show
Unload frmValidate
End Sub

Private Sub Form_Activate()
txtnewpass.SetFocus
End Sub

Private Sub Form_Load()

txtnewuser.Text = frmgsettings.b
'
End Sub

Private Sub Vmdok_Click()
If txtnewpass.Text = frmgsettings.b1 Then
frmgsettings.Validate = True
frmValidate.Hide
frmgsettings.Show
Unload frmValidate
Else
frmValidate.Show
MsgBox ("Password Mismatch")
txtnewpass.SetFocus
SendKeys "{Home}+{End}"
End If
End Sub

⌨️ 快捷键说明

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