📄 usertype.frm
字号:
VERSION 5.00
Begin VB.Form frmUserType
BorderStyle = 4 'Fixed ToolWindow
Caption = "用户类型"
ClientHeight = 2790
ClientLeft = 45
ClientTop = 285
ClientWidth = 3600
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2790
ScaleWidth = 3600
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton cmdOK
Caption = "确定"
Default = -1 'True
Height = 375
Left = 2160
TabIndex = 5
Top = 1560
Width = 1095
End
Begin VB.CommandButton cmdCancel
Cancel = -1 'True
Caption = "取消"
Height = 375
Left = 2160
TabIndex = 4
Top = 2160
Width = 1095
End
Begin VB.Frame fraUserType
Caption = "请选择用户类型"
Height = 2415
Left = 120
TabIndex = 0
Top = 120
Width = 1815
Begin VB.OptionButton optUserType
Caption = "进货人员"
Height = 495
Index = 3
Left = 360
TabIndex = 6
Top = 1680
Width = 1095
End
Begin VB.OptionButton optUserType
Caption = "销售人员"
Height = 495
Index = 2
Left = 360
TabIndex = 3
Top = 1200
Width = 1095
End
Begin VB.OptionButton optUserType
Caption = "仓管人员"
Height = 495
Index = 1
Left = 360
TabIndex = 2
Top = 720
Width = 1095
End
Begin VB.OptionButton optUserType
Caption = "管理人员"
Height = 495
Index = 0
Left = 360
TabIndex = 1
Top = 240
Width = 1095
End
End
End
Attribute VB_Name = "frmUserType"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public mnUserType As Integer
Private Sub cmdCancel_Click()
mnUserType = -1
Me.Hide
End Sub
Private Sub cmdOK_Click()
Me.Hide
End Sub
Private Sub Form_Load()
optUserType(0).Value = True
mnUserType = -1
End Sub
Private Sub optUserType_Click(Index As Integer)
mnUserType = Index
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -