📄 operatormanager.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form OperatorManager
AutoRedraw = -1 'True
BorderStyle = 3 'Fixed Dialog
Caption = "系统用户管理"
ClientHeight = 3180
ClientLeft = 45
ClientTop = 330
ClientWidth = 7335
ControlBox = 0 'False
Icon = "OperatorManager.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3180
ScaleWidth = 7335
ShowInTaskbar = 0 'False
Begin VB.Frame Frame1
Height = 1290
Left = 45
TabIndex = 11
Top = 3135
Width = 7185
Begin VB.TextBox txtName
Height = 270
Left = 1410
TabIndex = 4
Top = 300
Width = 1680
End
Begin VB.TextBox txtPasswd
Height = 270
Left = 1410
MaxLength = 6
TabIndex = 6
Top = 765
Width = 1680
End
Begin VB.ComboBox comboQx
Height = 300
Left = 4455
Style = 2 'Dropdown List
TabIndex = 7
Top = 765
Width = 1770
End
Begin VB.TextBox Text1
Height = 285
Left = 4455
MaxLength = 3
TabIndex = 5
Top = 285
Width = 1755
End
Begin VB.Label Label1
Caption = "姓名:"
Height = 225
Left = 645
TabIndex = 15
Top = 345
Width = 900
End
Begin VB.Label Label2
Caption = "密码:"
Height = 180
Left = 615
TabIndex = 14
Top = 855
Width = 735
End
Begin VB.Label Label3
Caption = "权限:"
Height = 195
Left = 3660
TabIndex = 13
Top = 825
Width = 540
End
Begin VB.Label Label4
Caption = "代码:"
Height = 195
Left = 3645
TabIndex = 12
Top = 345
Width = 810
End
End
Begin VB.CommandButton Command4
Caption = "取消"
Height = 345
Left = 6225
TabIndex = 9
Top = 4470
Width = 990
End
Begin VB.CommandButton Command3
Caption = "确认"
Height = 345
Left = 4590
TabIndex = 8
Top = 4470
Width = 990
End
Begin MSComctlLib.ImageList ImageList1
Left = 5205
Top = 2040
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 4
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "OperatorManager.frx":0ECA
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "OperatorManager.frx":11E6
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "OperatorManager.frx":1502
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "OperatorManager.frx":181E
Key = ""
EndProperty
EndProperty
End
Begin VB.CommandButton Command2
Caption = "修改(&M)"
Height = 315
Left = 6180
TabIndex = 2
Top = 1725
Width = 795
End
Begin VB.CommandButton cmdExit
Cancel = -1 'True
Caption = "退出(&E)"
Height = 315
Left = 6195
TabIndex = 3
Top = 2670
Width = 825
End
Begin VB.CommandButton cmdDelete
Caption = "删除(&D)"
Height = 315
Left = 6180
TabIndex = 1
Top = 1095
Width = 795
End
Begin VB.CommandButton Command1
Caption = "增加(&A)"
Height = 315
Left = 6180
TabIndex = 0
Top = 465
Width = 795
End
Begin MSComctlLib.ListView ListView1
Height = 2835
Left = 165
TabIndex = 10
Top = 150
Width = 5550
_ExtentX = 9790
_ExtentY = 5001
LabelEdit = 1
MultiSelect = -1 'True
LabelWrap = -1 'True
HideSelection = -1 'True
HotTracking = -1 'True
_Version = 393217
Icons = "ImageList1"
ForeColor = -2147483640
BackColor = 13415424
BorderStyle = 1
Appearance = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
NumItems = 3
BeginProperty ColumnHeader(1) {BDD1F052-858B-11D1-B16A-00C0F0283628}
Text = "用户名"
Object.Width = 2540
EndProperty
BeginProperty ColumnHeader(2) {BDD1F052-858B-11D1-B16A-00C0F0283628}
Alignment = 2
SubItemIndex = 1
Text = "口令"
Object.Width = 2540
EndProperty
BeginProperty ColumnHeader(3) {BDD1F052-858B-11D1-B16A-00C0F0283628}
Alignment = 2
SubItemIndex = 2
Text = "权限"
Object.Width = 2540
EndProperty
End
Begin VB.Shape Shape2
BorderColor = &H00E0E0E0&
Height = 3045
Index = 1
Left = 5940
Top = 90
Width = 1290
End
Begin VB.Shape Shape2
BorderColor = &H00808080&
Height = 3045
Index = 0
Left = 5925
Top = 75
Width = 1290
End
Begin VB.Shape Shape1
BorderColor = &H00E0E0E0&
Height = 3030
Index = 1
Left = 60
Top = 90
Width = 5790
End
Begin VB.Shape Shape1
BorderColor = &H00808080&
Height = 3030
Index = 0
Left = 45
Top = 75
Width = 5790
End
End
Attribute VB_Name = "OperatorManager"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim blProgram As Boolean
Dim SendMess As Integer
Private Sub cmdDelete_Click()
On Error Resume Next
'pbUserPermission = "系统管理员"
If pbUserPermission <> "系统管理员" Then
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -