📄 frmoutput.frm
字号:
VERSION 5.00
Begin VB.Form frmOutput
Caption = "例[10-4] Form3"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 345
ClientWidth = 3255
LinkTopic = "Form1"
ScaleHeight = 3090
ScaleWidth = 3255
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "返回"
Height = 495
Left = 720
TabIndex = 4
Top = 2400
Width = 1215
End
Begin VB.TextBox txtTotal
Height = 495
Left = 1200
TabIndex = 1
Top = 1440
Width = 1215
End
Begin VB.TextBox txtAverage
Height = 495
Left = 1200
TabIndex = 0
Top = 600
Width = 1215
End
Begin VB.Label Label2
Caption = "总成绩"
Height = 495
Left = 120
TabIndex = 3
Top = 1440
Width = 975
End
Begin VB.Label Label1
Caption = "平均成绩"
Height = 495
Left = 120
TabIndex = 2
Top = 720
Width = 1215
End
End
Attribute VB_Name = "frmOutput"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
frmOutput.Hide
frmMain.Show
End Sub
Private Sub Form_Activate()
stotal = sMath + sChinese + sChemistry + sEnglish + sPhysics
txtAverage = stotal / 5
txtTotal = stotal
End Sub
Private Sub Form_Load()
stotal = sMath + sChinese + sChemistry + sEnglish + sPhysics
txtAverage = stotal / 5
txtTotal = stotal
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -