📄 form2.frm
字号:
VERSION 5.00
Begin VB.Form Form2
BackColor = &H00FF8080&
BorderStyle = 1 'Fixed Single
Caption = "功能选择"
ClientHeight = 4125
ClientLeft = 45
ClientTop = 330
ClientWidth = 7305
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4125
ScaleWidth = 7305
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command8
Caption = "自动出试卷"
Height = 375
Left = 480
TabIndex = 9
Top = 2640
Width = 1575
End
Begin VB.CommandButton Command4
Caption = "手动出试卷"
Height = 375
Left = 480
TabIndex = 8
Top = 2160
Width = 1575
End
Begin VB.CommandButton Command7
Caption = "用户管理"
Height = 375
Left = 480
TabIndex = 5
Top = 3120
Width = 1575
End
Begin VB.CommandButton Command2
Caption = "查询题目"
Height = 375
Left = 480
TabIndex = 4
Top = 1680
Width = 1575
End
Begin VB.CommandButton Command6
Caption = "题库登记"
Height = 375
Left = 480
TabIndex = 3
Top = 240
Width = 1575
End
Begin VB.CommandButton Command5
Caption = "退出"
Height = 375
Left = 480
TabIndex = 2
Top = 3600
Width = 1575
End
Begin VB.CommandButton Command3
Caption = "设定科目"
Height = 375
Left = 480
TabIndex = 1
Top = 1200
Width = 1575
End
Begin VB.CommandButton Command1
Caption = "设定类型"
Height = 375
Left = 480
TabIndex = 0
Top = 720
Width = 1575
End
Begin VB.Label Label2
Caption = "身份:"
Height = 375
Left = 3000
TabIndex = 7
Top = 3600
Width = 1095
End
Begin VB.Label Label1
Height = 375
Left = 4080
TabIndex = 6
Top = 3600
Width = 1815
End
Begin VB.Image Image1
Height = 2565
Left = 2760
Picture = "Form2.frx":0000
Stretch = -1 'True
Top = 480
Width = 3825
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form5.Show
End Sub
Private Sub Command2_Click()
Form7.Show
End Sub
Private Sub Command3_Click()
Form6.Show
End Sub
Private Sub Command4_Click()
Form8.Show
End Sub
Private Sub Command5_Click()
End
End Sub
Private Sub Command6_Click()
Form4.Show
End Sub
Private Sub Command7_Click()
If user = "管理员" Then
Form3.Show
Else
MsgBox "身份错误"
End If
End Sub
Private Sub Command8_Click()
Form9.Show
End Sub
Private Sub Form_Load()
Label1.Caption = user
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -