📄 frmoption.frm
字号:
VERSION 5.00
Begin VB.Form frmoption
BackColor = &H0080C0FF&
BorderStyle = 1 'Fixed Single
Caption = "俄罗斯方块游戏设置"
ClientHeight = 2670
ClientLeft = 45
ClientTop = 330
ClientWidth = 3405
Icon = "frmoption.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 2670
ScaleWidth = 3405
StartUpPosition = 2 '屏幕中心
Begin VB.Frame frahard
BackColor = &H0080C0FF&
Caption = "难度(高度):0"
ForeColor = &H00C00000&
Height = 855
Left = 120
TabIndex = 2
Top = 1080
Width = 3135
Begin VB.HScrollBar hsbhard
Height = 255
LargeChange = 5
Left = 240
Max = 10
TabIndex = 3
Top = 360
Width = 2775
End
End
Begin VB.Frame fralevel
BackColor = &H0080C0FF&
Caption = "关卡(速度):1"
ForeColor = &H00C00000&
Height = 855
Left = 120
TabIndex = 0
Top = 120
Width = 3135
Begin VB.HScrollBar hsblevel
Height = 255
LargeChange = 5
Left = 240
Max = 10
Min = 1
TabIndex = 1
Top = 360
Value = 1
Width = 2775
End
End
Begin VB.Label Label2
BackColor = &H0080C0FF&
Caption = "取消"
BeginProperty Font
Name = "华文中宋"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 375
Left = 1920
TabIndex = 5
Top = 2160
Width = 735
End
Begin VB.Label label1
BackColor = &H0080C0FF&
Caption = "确定"
BeginProperty Font
Name = "华文中宋"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 375
Left = 600
TabIndex = 4
Top = 2160
Width = 735
End
End
Attribute VB_Name = "frmoption"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub hsbhard_Change()
frahard.Caption = "难度(高度):" + Str(hsbhard.Value)
End Sub
Private Sub hsbhard_Scroll()
frahard.Caption = "难度(高度):" + Str(hsbhard.Value)
End Sub
Private Sub hsblevel_Change()
fralevel.Caption = "关卡(速度):" + Str(hsblevel.Value)
End Sub
Private Sub hsblevel_Scroll()
fralevel.Caption = "关卡(速度):" + Str(hsblevel.Value)
End Sub
Private Sub label1_Click()
frmoption.Hide
frmmain.Show
frmmain.txtlevel.Text = hsblevel.Value
frmmain.txthard.Text = hsbhard.Value
End Sub
Private Sub Label2_Click()
frmoption.Hide
frmmain.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -