frmoutput.frm
来自「蒋加伏主编VB程序设计第四版PPT及全部课本源码 北京邮电大学出版社 」· FRM 代码 · 共 73 行
FRM
73 行
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 + =
减小字号Ctrl + -
显示快捷键?