frminput.frm
来自「蒋加伏主编VB程序设计第四版PPT及全部课本源码 北京邮电大学出版社 」· FRM 代码 · 共 110 行
FRM
110 行
VERSION 5.00
Begin VB.Form frmInput
Caption = "例[10-4] Form2"
ClientHeight = 2985
ClientLeft = 60
ClientTop = 345
ClientWidth = 3525
LinkTopic = "Form1"
ScaleHeight = 2985
ScaleWidth = 3525
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text4
Height = 495
Left = 720
TabIndex = 10
Top = 1800
Width = 1215
End
Begin VB.TextBox Text5
Height = 495
Left = 720
TabIndex = 9
Top = 2400
Width = 1215
End
Begin VB.TextBox Text3
Height = 495
Left = 720
TabIndex = 8
Top = 1200
Width = 1215
End
Begin VB.TextBox Text2
Height = 495
Left = 720
TabIndex = 7
Top = 600
Width = 1215
End
Begin VB.TextBox Text1
Height = 495
Left = 720
TabIndex = 6
Top = 0
Width = 1215
End
Begin VB.CommandButton cmdReturn
Caption = "返回"
Height = 375
Left = 2280
TabIndex = 5
Top = 2520
Width = 975
End
Begin VB.Label Label5
Caption = "物理"
Height = 255
Left = 120
TabIndex = 4
Top = 2520
Width = 495
End
Begin VB.Label Label4
Caption = "英语"
Height = 375
Left = 120
TabIndex = 3
Top = 1800
Width = 495
End
Begin VB.Label Label3
Caption = "化学"
Height = 255
Left = 120
TabIndex = 2
Top = 1320
Width = 495
End
Begin VB.Label Label2
Caption = "语文"
Height = 255
Left = 120
TabIndex = 1
Top = 720
Width = 495
End
Begin VB.Label Label1
Caption = "数学"
Height = 375
Left = 120
TabIndex = 0
Top = 120
Width = 495
End
End
Attribute VB_Name = "frmInput"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdReturn_Click()
sMath = Val(Text1)
sChinese = Val(Text2)
sChemistry = Val(Text3)
sEnglish = Val(Text4)
sPhysics = Val(Text5)
frmInput.Hide
frmMain.Show
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?