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

📄 frmlogin.frm

📁 图书管理系统。本图书管理系统具有查询
💻 FRM
字号:
VERSION 5.00
Begin VB.Form formLogin 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "图书管理系统——登录"
   ClientHeight    =   1320
   ClientLeft      =   2835
   ClientTop       =   3480
   ClientWidth     =   3030
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   779.9
   ScaleMode       =   0  'User
   ScaleWidth      =   2845.006
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Visible         =   0   'False
   Begin VB.TextBox Text1 
      Height          =   270
      Left            =   510
      TabIndex        =   5
      Text            =   "Text1"
      Top             =   1335
      Visible         =   0   'False
      Width           =   2070
   End
   Begin VB.CommandButton cmdOK 
      Caption         =   "确定"
      Default         =   -1  'True
      Height          =   345
      Left            =   195
      TabIndex        =   2
      Top             =   840
      Width           =   1140
   End
   Begin VB.CommandButton cmdCancel 
      Cancel          =   -1  'True
      Caption         =   "取消"
      Height          =   345
      Left            =   1710
      TabIndex        =   3
      Top             =   825
      Width           =   1140
   End
   Begin VB.TextBox txtPassword 
      Appearance      =   0  'Flat
      Height          =   270
      IMEMode         =   3  'DISABLE
      Left            =   720
      MaxLength       =   10
      PasswordChar    =   "*"
      TabIndex        =   1
      Top             =   135
      Width           =   2085
   End
   Begin VB.Label Label1 
      Caption         =   "点击取消将退出程序"
      Height          =   195
      Left            =   720
      TabIndex        =   4
      Top             =   540
      Width           =   1710
   End
   Begin VB.Label lblLabels 
      Caption         =   "密 码"
      Height          =   210
      Index           =   1
      Left            =   165
      TabIndex        =   0
      Top             =   180
      Width           =   480
   End
End
Attribute VB_Name = "formLogin"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


'***************登陆对话框**************
'所调用的API函数,自定义过程,类型,常数请参阅相应模块
Option Explicit



Private Sub cmdCancel_Click()
End
End Sub

Private Sub cmdOK_Click()
Text1.Text = getinistr("option", "password")   '读取密码(由于时间关系密码没有存为密码文件
If txtPassword.Text = Text1.Text Then          '和加密,直接放在ini文件中)
Formmain.Show
Unload Me
Else
MsgBox "密码错误,请重试"
End If
End Sub

Private Sub Form_Load()
Me.Icon = LoadPicture("")
End Sub

⌨️ 快捷键说明

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