📄 dialog1.frm
字号:
VERSION 5.00
Begin VB.Form Dialog1
BorderStyle = 3 'Fixed Dialog
Caption = "路面结构形式"
ClientHeight = 4185
ClientLeft = 2760
ClientTop = 3750
ClientWidth = 7245
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Moveable = 0 'False
ScaleHeight = 4185
ScaleWidth = 7245
ShowInTaskbar = 0 'False
Begin VB.OptionButton Option5
Caption = "城市水泥混凝土路面"
Height = 495
Left = 3720
TabIndex = 6
Top = 2160
Width = 2055
End
Begin VB.OptionButton Option4
Caption = "城市沥青路面"
Height = 495
Left = 3720
TabIndex = 5
Top = 1560
Width = 1575
End
Begin VB.OptionButton Option3
Caption = "其他路面结构"
Height = 495
Left = 3720
TabIndex = 4
Top = 2760
Width = 1695
End
Begin VB.OptionButton Option2
Caption = "公路水泥混凝土路面"
Height = 495
Left = 3720
TabIndex = 3
Top = 1080
Width = 2055
End
Begin VB.OptionButton Option1
Caption = "公路沥青路面"
Height = 495
Left = 3720
TabIndex = 2
Top = 480
Width = 1695
End
Begin VB.CommandButton CancelButton
Caption = "下一步"
Height = 375
Left = 4200
TabIndex = 1
Top = 3480
Width = 1215
End
Begin VB.CommandButton OKButton
Caption = "退出"
Height = 375
Left = 5520
TabIndex = 0
Top = 3480
Width = 1215
End
Begin VB.Image Image1
Height = 3375
Left = 240
Top = 240
Width = 3135
End
End
Attribute VB_Name = "Dialog1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub CancelButton_Click()
If Option1.Value = True Then
Form4.Show
Dialog1.Hide
End If
If Option2.Value = True Then
Form5.Show
Dialog1.Hide
End If
If Option3.Value = True Then
Form4.Show
Dialog1.Hide
End If
End Sub
Private Sub Form_Load()
Option1.Value = True
End Sub
Private Sub OKButton_Click()
Dialog1.Hide
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -