📄 2.frm
字号:
VERSION 5.00
Begin VB.Form Form2
Caption = "NUMBERB 3"
ClientHeight = 4710
ClientLeft = 60
ClientTop = 450
ClientWidth = 7875
LinkTopic = "Form2"
ScaleHeight = 4710
ScaleWidth = 7875
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command2
Caption = "EXIT"
Height = 615
Left = 4680
TabIndex = 7
Top = 4080
Width = 2895
End
Begin VB.CommandButton Command1
Caption = "PRINT"
Height = 615
Left = 1800
TabIndex = 6
Top = 4080
Width = 2895
End
Begin VB.TextBox Text3
Height = 615
Left = 3840
TabIndex = 2
Top = 3120
Width = 2895
End
Begin VB.TextBox Text2
Height = 615
Left = 3840
TabIndex = 1
Top = 1920
Width = 2895
End
Begin VB.TextBox Text1
Height = 615
Left = 3840
TabIndex = 0
Top = 840
Width = 2895
End
Begin VB.Label Label3
Caption = "NUMBER 3"
Height = 615
Left = 600
TabIndex = 5
Top = 3120
Width = 2895
End
Begin VB.Label Label2
Caption = "NUMBER 2"
Height = 615
Left = 600
TabIndex = 4
Top = 1800
Width = 2895
End
Begin VB.Label Label1
Caption = "NUMBER 1"
Height = 615
Left = 720
TabIndex = 3
Top = 720
Width = 2895
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
Cls
Let A = Val(Text1)
Let B = Val(Text2)
Let C = Val(Text3)
If A > B And A > C Then
MsgBox "A IS GREATER NUMBER"
End If
If A < B And B > C Then
MsgBox "B IS GREATER NUMBER"
End If
If C > B And A < C Then
MsgBox "C IS GREATER NUMBER"
End If
End Sub
Private Sub Command2_Click()
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -