?? frmsys.frm
字號(hào):
VERSION 5.00
Begin VB.Form FrmSys
BorderStyle = 1 'Fixed Single
Caption = "Users"
ClientHeight = 3585
ClientLeft = 45
ClientTop = 330
ClientWidth = 7245
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3585
ScaleWidth = 7245
StartUpPosition = 3 '窗口缺省
Begin VB.Frame Frame2
Caption = "Frame2"
Height = 1455
Left = 960
TabIndex = 24
Top = 960
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 = "確認(rèn)"
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 '缺省游標(biāo)
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 495
Left = 4800
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 '缺省游標(biāo)
DefaultType = 2 '使用 ODBC
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 = "確認(rèn)"
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 = "職工號(hào)碼"
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 = 2880
Width = 1095
End
Begin VB.CommandButton CmdOK
Caption = "確認(rèn)"
Height = 495
Left = 3960
TabIndex = 6
Top = 2880
Width = 1095
End
Begin VB.ListBox LsUser
Height = 2040
Left = 2040
TabIndex = 1
Top = 720
Width = 1215
End
Begin VB.ListBox LsLimt
Height = 2040
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 = "簡(jiǎn)介"
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
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -