📄 1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 4515
ClientLeft = 60
ClientTop = 450
ClientWidth = 7695
LinkTopic = "Form1"
ScaleHeight = 4515
ScaleWidth = 7695
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command2
Caption = "EXIT"
Height = 855
Left = 2400
TabIndex = 5
Top = 3840
Width = 2895
End
Begin VB.CommandButton Command1
Caption = "DONE"
Height = 855
Left = 2400
TabIndex = 4
Top = 3000
Width = 2895
End
Begin VB.TextBox Text2
Height = 855
Left = 4200
TabIndex = 1
Top = 1800
Width = 2895
End
Begin VB.TextBox Text1
Height = 855
Left = 4200
TabIndex = 0
Top = 600
Width = 2895
End
Begin VB.Label Label2
Caption = "NUMBER 2"
Height = 855
Left = 600
TabIndex = 3
Top = 1800
Width = 2895
End
Begin VB.Label Label1
Caption = "NUMBER 1"
Height = 855
Left = 480
TabIndex = 2
Top = 600
Width = 2895
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Cls
Let A = Val(Text1)
Let B = Val(Text2)
MsgBox A + B
End Sub
Private Sub Command2_Click()
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -