📄 form5.frm
字号:
VERSION 5.00
Begin VB.Form Form5
BorderStyle = 3 'Fixed Dialog
ClientHeight = 6390
ClientLeft = 45
ClientTop = 45
ClientWidth = 9270
ClipControls = 0 'False
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 6390
ScaleWidth = 9270
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "退出考试"
BeginProperty Font
Name = "楷体_GB2312"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 6960
TabIndex = 13
Top = 5280
Width = 1695
End
Begin VB.CommandButton Command1
Caption = "进入考试"
BeginProperty Font
Name = "楷体_GB2312"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 4560
TabIndex = 12
Top = 5280
Width = 1815
End
Begin VB.PictureBox Picture1
Height = 6375
Left = 0
ScaleHeight = 6315
ScaleWidth = 9195
TabIndex = 0
Top = 0
Width = 9255
Begin VB.Frame Frame1
Height = 4815
Left = 240
TabIndex = 2
Top = 1320
Width = 8775
Begin VB.Frame Frame4
Height = 975
Left = 3960
TabIndex = 11
Top = 3600
Width = 4695
End
Begin VB.Frame Frame3
Height = 2535
Left = 3960
TabIndex = 4
Top = 240
Width = 4695
Begin VB.TextBox Text3
BackColor = &H00FF0000&
BorderStyle = 0 'None
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 495
Left = 240
TabIndex = 10
Top = 1680
Width = 4215
End
Begin VB.TextBox Text2
BackColor = &H00FF0000&
BorderStyle = 0 'None
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 495
Left = 240
TabIndex = 9
Top = 1080
Width = 4215
End
Begin VB.TextBox Text1
BackColor = &H00FF0000&
BorderStyle = 0 'None
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 495
Left = 240
TabIndex = 8
Top = 480
Width = 4215
End
End
Begin VB.Frame Frame2
Height = 2535
Left = 240
TabIndex = 3
Top = 240
Width = 3495
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "身份证号:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 360
TabIndex = 7
Top = 1800
Width = 1425
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "考生姓名:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 360
TabIndex = 6
Top = 1200
Width = 1425
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "准考证号:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 360
TabIndex = 5
Top = 600
Width = 1425
End
End
Begin VB.Image Image1
Height = 1680
Left = 1320
Stretch = -1 'True
Top = 3000
Width = 1335
End
End
Begin VB.Label Label1
Alignment = 2 'Center
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
Caption = "国家信息化考试"
BeginProperty Font
Name = "隶书"
Size = 26.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 585
Left = 240
TabIndex = 1
Top = 480
Width = 8760
End
End
End
Attribute VB_Name = "Form5"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If MsgBox("你输入的准考证号是:" & Text1.Text & vbCrLf & "你的姓名是:" & Text2.Text & vbCrLf & "你的身份证号是:" & _
Text3.Text & vbCrLf & "请问是否正确?", 4 + 64, "国家信息化考试") = vbNo Then
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Else
MsgBox "OK"
End If
End Sub
Private Sub Command2_Click()
If MsgBox("请真的要退出考试吗?", 4 + 32, "国家信息化考试") = vbNo Then
Cancel = 1
Else
End
End If
End Sub
Private Sub Form_Load()
Me.Left = Screen.Width / 2 - Me.Width / 2
Me.Top = Screen.Height / 2 - Me.Height / 2
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -