?? frmoperman.frm
字號(hào):
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Object = "{0BA686C6-F7D3-101A-993E-0000C0EF6F5E}#1.0#0"; "THREED32.OCX"
Begin VB.Form frmOperMan
BackColor = &H8000000A&
BorderStyle = 3 'Fixed Dialog
Caption = "操作員管理"
ClientHeight = 5985
ClientLeft = 2700
ClientTop = 2070
ClientWidth = 7965
Icon = "frmOperMan.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5985
ScaleWidth = 7965
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.Frame Frame1
Height = 1335
Left = 120
TabIndex = 9
Top = 120
Width = 7695
Begin VB.TextBox Text1
Appearance = 0 'Flat
Enabled = 0 'False
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
IMEMode = 3 'DISABLE
Index = 0
Left = 960
Locked = -1 'True
MaxLength = 20
TabIndex = 0
Top = 360
Width = 1515
End
Begin VB.OptionButton Option1
BackColor = &H8000000A&
Caption = "普通用戶"
Enabled = 0 'False
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000007&
Height = 285
Index = 1
Left = 1770
TabIndex = 5
Top = 855
Width = 1410
End
Begin VB.OptionButton Option1
BackColor = &H8000000A&
Caption = "超級(jí)用戶"
Enabled = 0 'False
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000007&
Height = 285
Index = 0
Left = 120
TabIndex = 4
Top = 855
Value = -1 'True
Width = 1275
End
Begin VB.TextBox Text1
Appearance = 0 'Flat
Enabled = 0 'False
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Index = 3
Left = 4320
Locked = -1 'True
MaxLength = 20
TabIndex = 3
Top = 840
Width = 3030
End
Begin VB.TextBox Text1
Appearance = 0 'Flat
Enabled = 0 'False
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
IMEMode = 3 'DISABLE
Index = 2
Left = 5880
Locked = -1 'True
MaxLength = 20
PasswordChar = "*"
TabIndex = 2
Top = 360
Width = 1515
End
Begin VB.TextBox Text1
Appearance = 0 'Flat
Enabled = 0 'False
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Index = 1
Left = 3360
Locked = -1 'True
MaxLength = 20
TabIndex = 1
Top = 360
Width = 1515
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "備 注"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000007&
Height = 210
Index = 9
Left = 3240
TabIndex = 13
Top = 885
Width = 840
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "代 碼"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000007&
Height = 210
Index = 0
Left = 120
TabIndex = 12
Top = 412
Width = 630
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "口 令"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000007&
Height = 210
Index = 8
Left = 5040
TabIndex = 11
Top = 412
Width = 630
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "姓 名"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000007&
Height = 210
Index = 1
Left = 2640
TabIndex = 10
Top = 412
Width = 630
End
End
Begin VB.Frame Frmbutton
BackColor = &H8000000A&
Height = 1155
Left = 120
TabIndex = 8
Top = 4680
Width = 7695
Begin Threed.SSCommand cmdAdd
Height = 495
Left = 480
TabIndex = 14
Top = 360
Width = 1095
_Version = 65536
_ExtentX = 1931
_ExtentY = 873
_StockProps = 78
Caption = "&A.添 加"
Picture = "frmOperMan.frx":0442
End
Begin Threed.SSCommand cmdEdit
Height = 495
Left = 1920
TabIndex = 15
Top = 360
Width = 1095
_Version = 65536
_ExtentX = 1931
_ExtentY = 873
_StockProps = 78
Caption = "&M 修 改"
Picture = "frmOperMan.frx":045E
End
Begin Threed.SSCommand cmdDelete
Height = 495
Left = 3240
TabIndex = 16
Top = 360
Width = 1095
_Version = 65536
_ExtentX = 1931
_ExtentY = 873
_StockProps = 78
Caption = "&D 刪 除"
Picture = "frmOperMan.frx":047A
End
Begin Threed.SSCommand cmdclear
Height = 495
Left = 4560
TabIndex = 17
Top = 360
Width = 1095
_Version = 65536
_ExtentX = 1931
_ExtentY = 873
_StockProps = 78
Caption = "&C 清 空"
Picture = "frmOperMan.frx":0496
End
Begin Threed.SSCommand cmdClose
Height = 495
Left = 6000
TabIndex = 18
Top = 360
Width = 1095
_Version = 65536
_ExtentX = 1931
_ExtentY = 873
_StockProps = 78
Caption = "&Q 退 出"
Picture = "frmOperMan.frx":04B2
End
End
Begin VB.Frame FrmOperInfo
BackColor = &H8000000A&
Caption = "已有操作員列表"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000D&
Height = 3135
Left = 120
TabIndex = 7
Top = 1560
Width = 7695
Begin MSFlexGridLib.MSFlexGrid MSFGOperator
Height = 2595
Left = 240
TabIndex = 6
Top = 330
Width = 7215
_ExtentX = 12726
_ExtentY = 4577
_Version = 393216
Rows = 20
Cols = 3
FixedCols = 0
GridColor = -2147483637
AllowBigSelection= 0 'False
ScrollTrack = -1 'True
TextStyleFixed = 1
FocusRect = 0
GridLinesFixed = 1
ScrollBars = 2
SelectionMode = 1
FormatString = "^ 操作員名 |^ 權(quán) 限 |^ 備 注 "
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
End
End
Attribute VB_Name = "frmOperMan"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim AddFlag As Boolean
'包含下一個(gè)變量的代碼,是為輸入法添加的
Dim lfrmIme As Long
Dim QX As String
Dim tUserInfo As t_User
Dim WithEvents RS As Recordset
Attribute RS.VB_VarHelpID = -1
Dim sSQL As String
Dim i As Long
Private Sub cmdadd_Click()
If UserInfo.QX = 1 Then
MsgBox "對(duì)不起,普通用戶無(wú)權(quán)操作!", 48, "系統(tǒng)提示"
Exit Sub
End If
If Trim(Me.cmdAdd.Caption) = "&A.添 加" Then
Call HideButtons
Text1(1).Text = ""
Text1(2).Text = ""
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -