📄 form2.frm
字号:
VERSION 5.00
Begin VB.Form Form2
BorderStyle = 4 'Fixed ToolWindow
Caption = "Options"
ClientHeight = 4200
ClientLeft = 3390
ClientTop = 2220
ClientWidth = 3795
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4200
ScaleWidth = 3795
ShowInTaskbar = 0 'False
Begin VB.Frame Frame3
Caption = "Game"
Height = 1215
Left = 60
TabIndex = 9
Top = 2580
Width = 3675
Begin VB.CheckBox Check4
Caption = "Enable Cheat view"
Height = 255
Left = 180
TabIndex = 12
Top = 900
Width = 3315
End
Begin VB.CheckBox Check3
Caption = "Classic Memory"
Enabled = 0 'False
Height = 255
Left = 180
TabIndex = 11
Top = 600
Width = 3135
End
Begin VB.CheckBox Check2
Caption = "Reveal card positions at game start"
Height = 255
Left = 180
TabIndex = 10
Top = 300
Width = 3315
End
End
Begin VB.CommandButton Command1
Caption = "Ok"
Height = 315
Left = 2940
TabIndex = 8
Top = 3840
Width = 795
End
Begin VB.Frame Frame2
Caption = "Sound / Music"
Height = 855
Left = 60
TabIndex = 6
Top = 1680
Width = 3675
Begin VB.CheckBox Check1
Caption = "Enable Sounds"
Height = 255
Left = 180
TabIndex = 7
Top = 300
Width = 3315
End
End
Begin VB.Frame Frame1
Caption = "Skill Level (1 player only)"
Height = 1575
Left = 60
TabIndex = 0
Top = 60
Width = 3675
Begin VB.OptionButton Option1
Caption = "Experienced"
Height = 255
Index = 4
Left = 180
TabIndex = 5
Top = 1260
Width = 3315
End
Begin VB.OptionButton Option1
Caption = "Broken in"
Height = 255
Index = 3
Left = 180
TabIndex = 4
Top = 1020
Width = 3315
End
Begin VB.OptionButton Option1
Caption = "Novice"
Height = 255
Index = 2
Left = 180
TabIndex = 3
Top = 780
Width = 3315
End
Begin VB.OptionButton Option1
Caption = "Normal"
Height = 255
Index = 1
Left = 180
TabIndex = 2
Top = 540
Width = 3315
End
Begin VB.OptionButton Option1
Caption = "Rookie"
Height = 255
Index = 0
Left = 180
TabIndex = 1
Top = 300
Width = 3315
End
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Check1_Click()
Sounds = Check1.Value
SaveSetting "Memory", "Settings", "Sound", Check1.Value
End Sub
Private Sub Check2_Click()
Reveal = Check2.Value
SaveSetting "Memory", "Settings", "Reveal", Check2.Value
End Sub
Private Sub Check4_Click()
Form1.mnuHelp.Enabled = Check4.Value
End Sub
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Form_Load()
Check4.Value = Form1.mnuHelp.Enabled
Check1.Value = Sounds
Option1(Int(GetSetting("Memory", "Settings", "Level", 1))).Value = True
Check2.Value = GetSetting("Memory", "Settings", "Reveal", 0)
End Sub
Private Sub Option1_Click(Index As Integer)
Select Case Index
Case 0
Level = 200
skl = "Rookie"
Case 1
Level = 100
skl = "Normal"
Case 2
Level = 50
skl = "Novice"
Case 3
Level = 25
skl = "Broken In"
Case 4
Level = 10
skl = "Experienced"
End Select
SaveSetting "Memory", "Settings", "Level", Index
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -