📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "选择(1-1"
ClientHeight = 5070
ClientLeft = 60
ClientTop = 420
ClientWidth = 7245
LinkTopic = "Form1"
ScaleHeight = 5070
ScaleWidth = 7245
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "退出"
Height = 615
Left = 4320
TabIndex = 6
Top = 3480
Width = 2535
End
Begin VB.CommandButton Command1
Caption = "开始"
Height = 615
Left = 4200
TabIndex = 5
Top = 2280
Width = 2655
End
Begin VB.Frame Frame1
Caption = "选择"
Height = 4095
Left = 480
TabIndex = 0
Top = 480
Width = 3135
Begin VB.OptionButton Option4
Caption = "紊流过渡粗糙区"
Height = 495
Left = 120
TabIndex = 4
Top = 3120
Width = 2415
End
Begin VB.OptionButton Option3
Caption = "紊流粗糙区"
Height = 615
Left = 120
TabIndex = 3
Top = 2160
Width = 2415
End
Begin VB.OptionButton Option2
Caption = "紊流光滑区"
Height = 615
Left = 120
TabIndex = 2
Top = 1320
Width = 2295
End
Begin VB.OptionButton Option1
Caption = "层流"
Height = 495
Left = 120
TabIndex = 1
Top = 480
Width = 2415
End
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()
If Option1.Value = True Then
Form2.Show
Form1.Hide
End If
If Option2.Value = True Then
Form3.Show
Form1.Hide
End If
If Option3.Value = True Then
Form4.Show
Form1.Hide
End If
If Option4.Value = True Then
Form5.Show
Form1.Hide
End If
End Sub
Private Sub Command2_Click()
Form6.Show
Form1.Hide
End Sub
Private Sub Form_Load()
Form6.Show
Form1.Hide
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -