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

📄 frmsys.frm

📁 能够录入人事的基本资料
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Begin VB.Form FrmSys 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Users"
   ClientHeight    =   3420
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   7155
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3420
   ScaleWidth      =   7155
   StartUpPosition =   3  'Windows Default
   Begin VB.Frame Frame2 
      Caption         =   "Frame2"
      Height          =   1455
      Left            =   1080
      TabIndex        =   24
      Top             =   840
      Visible         =   0   'False
      Width           =   4575
      Begin VB.CommandButton CmdCCancel 
         Caption         =   "取消"
         Height          =   285
         Left            =   3360
         TabIndex        =   30
         Top             =   840
         Width           =   975
      End
      Begin VB.TextBox TxtC2 
         Appearance      =   0  'Flat
         Height          =   285
         IMEMode         =   3  'DISABLE
         Left            =   1320
         PasswordChar    =   "*"
         TabIndex        =   29
         Top             =   840
         Width           =   1695
      End
      Begin VB.CommandButton CmdCOK 
         Caption         =   "确认"
         Height          =   285
         Left            =   3360
         TabIndex        =   28
         Top             =   360
         Width           =   975
      End
      Begin VB.TextBox TxtC1 
         Appearance      =   0  'Flat
         Height          =   285
         IMEMode         =   3  'DISABLE
         Left            =   1320
         PasswordChar    =   "*"
         TabIndex        =   25
         Top             =   360
         Width           =   1695
      End
      Begin VB.Label Label8 
         Caption         =   "重新输入"
         Height          =   255
         Left            =   240
         TabIndex        =   27
         Top             =   840
         Width           =   855
      End
      Begin VB.Label Label1 
         Caption         =   "输入密码"
         Height          =   255
         Left            =   240
         TabIndex        =   26
         Top             =   360
         Width           =   975
      End
   End
   Begin VB.Data DataB 
      Caption         =   "Data1"
      Connect         =   "Access"
      DatabaseName    =   ""
      DefaultCursorType=   0  'DefaultCursor
      DefaultType     =   2  'UseODBC
      Exclusive       =   0   'False
      Height          =   495
      Left            =   4920
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   ""
      Top             =   120
      Visible         =   0   'False
      Width           =   1065
   End
   Begin VB.Data DataA 
      Caption         =   "Data1"
      Connect         =   "Access"
      DatabaseName    =   ""
      DefaultCursorType=   0  'DefaultCursor
      DefaultType     =   2  'UseODBC
      Exclusive       =   0   'False
      Height          =   495
      Left            =   5880
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   ""
      Top             =   120
      Visible         =   0   'False
      Width           =   1065
   End
   Begin VB.Frame Frame1 
      Appearance      =   0  'Flat
      Caption         =   "新用户"
      ForeColor       =   &H80000008&
      Height          =   1935
      Left            =   960
      TabIndex        =   10
      Top             =   720
      Visible         =   0   'False
      Width           =   4815
      Begin VB.TextBox TxtP2 
         Appearance      =   0  'Flat
         Height          =   285
         IMEMode         =   3  'DISABLE
         Left            =   3360
         PasswordChar    =   "*"
         TabIndex        =   20
         Top             =   840
         Width           =   1215
      End
      Begin VB.TextBox Txtnew 
         Appearance      =   0  'Flat
         Height          =   285
         Left            =   960
         TabIndex        =   19
         Top             =   360
         Width           =   1335
      End
      Begin VB.CommandButton CmdNewCancel 
         Caption         =   "取消"
         Height          =   375
         Left            =   2640
         TabIndex        =   18
         Top             =   1440
         Width           =   1095
      End
      Begin VB.CommandButton CmNewOK 
         Caption         =   "确认"
         Height          =   375
         Left            =   960
         TabIndex        =   17
         Top             =   1440
         Width           =   1095
      End
      Begin VB.TextBox TxtP1 
         Appearance      =   0  'Flat
         Height          =   285
         IMEMode         =   3  'DISABLE
         Left            =   3360
         PasswordChar    =   "*"
         TabIndex        =   15
         Top             =   360
         Width           =   1215
      End
      Begin VB.TextBox TxtName 
         Appearance      =   0  'Flat
         Height          =   285
         Left            =   960
         TabIndex        =   12
         Top             =   840
         Width           =   1335
      End
      Begin VB.Label Label6 
         Caption         =   "再输"
         Height          =   255
         Left            =   2640
         TabIndex        =   16
         Top             =   840
         Width           =   735
      End
      Begin VB.Label Label5 
         Caption         =   "密码"
         Height          =   255
         Left            =   2640
         TabIndex        =   14
         Top             =   360
         Width           =   735
      End
      Begin VB.Label Label4 
         Caption         =   "职工号码"
         Height          =   255
         Left            =   120
         TabIndex        =   13
         Top             =   360
         Width           =   855
      End
      Begin VB.Label Label3 
         Caption         =   "登陆名"
         Height          =   375
         Left            =   120
         TabIndex        =   11
         Top             =   840
         Width           =   735
      End
   End
   Begin VB.CommandButton CmdCancel 
      Caption         =   "取消"
      Height          =   495
      Left            =   5400
      TabIndex        =   7
      Top             =   2400
      Width           =   1095
   End
   Begin VB.CommandButton CmdOK 
      Caption         =   "确认"
      Height          =   495
      Left            =   3960
      TabIndex        =   6
      Top             =   2400
      Width           =   1095
   End
   Begin VB.ListBox LsUser 
      Height          =   2205
      Left            =   2040
      TabIndex        =   1
      Top             =   720
      Width           =   1215
   End
   Begin VB.ListBox LsLimt 
      Height          =   2205
      Left            =   240
      TabIndex        =   0
      Top             =   720
      Width           =   1335
   End
   Begin VB.Label LbChange 
      AutoSize        =   -1  'True
      Caption         =   "修改密码"
      Height          =   195
      Left            =   2280
      TabIndex        =   23
      Top             =   3000
      Width           =   720
   End
   Begin VB.Label LbFire 
      AutoSize        =   -1  'True
      Caption         =   "永久禁止"
      Height          =   195
      Left            =   480
      TabIndex        =   22
      Top             =   3000
      Width           =   720
   End
   Begin VB.Label LbNote 
      Caption         =   "Label1"
      Height          =   1455
      Left            =   3720
      TabIndex        =   21
      Top             =   720
      Width           =   3135
   End
   Begin VB.Label Label2 
      Caption         =   "简介"
      Height          =   255
      Left            =   3720
      TabIndex        =   9
      Top             =   240
      Width           =   1455
   End
   Begin VB.Label LbAdduser 
      Caption         =   "添加"
      Height          =   255
      Left            =   2760
      TabIndex        =   8
      Top             =   240
      Width           =   495
   End
   Begin VB.Label Label11 
      Caption         =   "禁止用户列表"
      Height          =   255
      Left            =   240
      TabIndex        =   5
      Top             =   240
      Width           =   1215
   End
   Begin VB.Label Label10 
      Caption         =   ">"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   18
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   1680
      TabIndex        =   4
      Top             =   1680
      Width           =   375
   End
   Begin VB.Label Label9 
      Caption         =   "<"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   18
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   1680
      TabIndex        =   3
      Top             =   1080
      Width           =   375
   End
   Begin VB.Label Label7 
      Caption         =   "用户列表"
      Height          =   255
      Left            =   1920
      TabIndex        =   2
      Top             =   240
      Width           =   855
   End
End
Attribute VB_Name = "FrmSys"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Const MxUser = 100
Dim user(MxUser), pws(MxUser), state(MxUser), Emplo(MxUser) As String
Dim i, Usercount, fil As Integer

Public Sub DeadAll()

    LsLimt.Enabled = False
    LsUser.Enabled = False
    cmdOK.Enabled = False
    CmdCancel.Enabled = False
    Label9.Enabled = False
    Label10.Enabled = False
    LbAdduser.Enabled = False

⌨️ 快捷键说明

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