📄 fnmet.frm
字号:
VERSION 5.00
Begin VB.Form fNMET
BorderStyle = 1 'Fixed Single
Caption = "NMET"
ClientHeight = 1500
ClientLeft = 45
ClientTop = 330
ClientWidth = 3600
ControlBox = 0 'False
Icon = "fNMET.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 100
ScaleMode = 3 'Pixel
ScaleWidth = 240
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton cmd
Caption = "确定"
Height = 255
Left = 1080
TabIndex = 1
Top = 1200
Width = 1575
End
Begin VB.Label lbl
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
Caption = "最终……"
Height = 975
Left = 120
TabIndex = 0
Top = 120
Width = 3375
End
End
Attribute VB_Name = "fNMET"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmd_Click()
Unload Me
fMenu.Show
End Sub
Private Sub Form_Load()
Me.Move (Screen.Width - Me.Width) / 2, (Screen.Height - Me.Height) / 2 - 200
With gameData
a = .scChinese + .scEnglish + .scMaths + .scScience
End With
Select Case Int(a / 50)
Case Is <= 9
b = "这样的成绩实在无颜见江东父老……"
Case 10
b = "多数同学考取了大学,虽然并不是名牌的……"
Case 11
b = "不错,这个结果总算对得起老师们的心血。"
Case 12
b = "太棒了!100%本科!大部分考取重点院校!"
Case Is >= 13
b = "不敢相信,一定要登报表彰!人人考上名牌!"
End Select
lbl.Caption = "高考结束了," & STrim(gameData.nameSchool) & "的学生们奋战的结果出来了:" & RL & _
"平均分是:" & a & RL & _
b
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -