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

📄 v_tl.frm

📁 小型医院管理
💻 FRM
字号:
VERSION 5.00
Begin VB.Form v_denglu 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "齐英天肛肠医院综合信息管理系统"
   ClientHeight    =   2460
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4500
   Icon            =   "v_tl.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2460
   ScaleWidth      =   4500
   StartUpPosition =   2  '屏幕中心
   Begin VB.Frame Frame1 
      BackColor       =   &H00C0C0C0&
      BorderStyle     =   0  'None
      Height          =   1455
      Left            =   120
      TabIndex        =   4
      Top             =   120
      Width           =   4215
      Begin VB.TextBox password 
         Height          =   390
         IMEMode         =   3  'DISABLE
         Left            =   1920
         PasswordChar    =   "*"
         TabIndex        =   0
         Top             =   720
         Width           =   1815
      End
      Begin VB.Label Label1 
         BackColor       =   &H80000000&
         BackStyle       =   0  'Transparent
         Caption         =   "请输入密码准备登陆"
         Height          =   255
         Left            =   360
         TabIndex        =   7
         Top             =   240
         Width           =   2175
      End
      Begin VB.Label Label3 
         AutoSize        =   -1  'True
         BackColor       =   &H80000000&
         BackStyle       =   0  'Transparent
         Caption         =   "用户密码"
         BeginProperty Font 
            Name            =   "新宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   210
         Left            =   960
         TabIndex        =   6
         Top             =   840
         Width           =   840
      End
      Begin VB.Image Image1 
         Height          =   720
         Left            =   240
         Picture         =   "v_tl.frx":0BC2
         Top             =   600
         Width           =   720
      End
      Begin VB.Label Label5 
         AutoSize        =   -1  'True
         BackColor       =   &H00D3E8EB&
         ForeColor       =   &H000000C0&
         Height          =   180
         Left            =   480
         TabIndex        =   5
         Top             =   1560
         Visible         =   0   'False
         Width           =   90
      End
   End
   Begin VB.CommandButton Command1 
      Caption         =   "登陆"
      Default         =   -1  'True
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   400
      Left            =   840
      TabIndex        =   1
      Top             =   1800
      Width           =   1200
   End
   Begin VB.CommandButton Command2 
      Caption         =   "放弃"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   400
      Left            =   2280
      TabIndex        =   2
      Top             =   1800
      Width           =   1200
   End
   Begin VB.CommandButton Command3 
      Caption         =   "Command3"
      Height          =   495
      Left            =   1680
      TabIndex        =   3
      Top             =   840
      Width           =   1575
   End
End
Attribute VB_Name = "v_denglu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public v_name1 As String
Public v_bumen1 As String




Private Sub Command1_Click()
 Dim v_name, v_bumen, v_quanxian, v_a As String
  
  
  Dim rs As New ADODB.Recordset
  Dim sql As String
  sql = "select * from 人名 where 密码='" & password.Text & "'"
  rs.Open sql, db
  
  If Not rs.EOF Then
  v_name1 = rs("姓名")
  v_bumen1 = rs("部门")
  v_quanxian = rs("权限")

  '
  Unload Me
 frm_login.Show
  
  Else
  a = MsgBox("警告:登陆失败!", vbQuestion, "系统提示! ")
  password.Text = ""
  password.SetFocus
  End If
End Sub

Private Sub Command2_Click()
Unload Me
End Sub

⌨️ 快捷键说明

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