form2.frm
来自「this game is programmed by visual basic 」· FRM 代码 · 共 76 行
FRM
76 行
VERSION 5.00
Begin VB.Form Form2
BorderStyle = 1 'Fixed Single
Caption = "游戏选择"
ClientHeight = 1350
ClientLeft = 45
ClientTop = 330
ClientWidth = 2520
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1350
ScaleWidth = 2520
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton cmdno
Caption = "取消"
Height = 375
Left = 1560
TabIndex = 3
Top = 960
Width = 975
End
Begin VB.CommandButton cmdyes
Caption = "确定"
Height = 375
Left = 1560
TabIndex = 0
Top = 480
Width = 975
End
Begin VB.OptionButton Option2
Caption = "双人擂台"
Height = 495
Left = 1320
TabIndex = 2
Top = 0
Width = 1215
End
Begin VB.OptionButton Option1
Caption = "单人游戏"
Height = 495
Left = 0
TabIndex = 1
Top = 0
Width = 1215
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public doublegame As Integer
Private Sub cmdno_Click()
End
End Sub
Private Sub cmdyes_Click()
If Option1.value = True Then
doublegame = 0
Else
doublegame = 1
End If
Form2.Hide
End Sub
Private Sub Form_Load()
Option2.value = True
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
End
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?