unit1.dfm
来自「delphi写的俄罗斯方块」· DFM 代码 · 共 611 行 · 第 1/3 页
DFM
611 行
object Label4: TLabel
Left = 153
Top = 102
Width = 93
Height = 13
Caption = '当前消除行数:'
Font.Charset = GB2312_CHARSET
Font.Color = clAqua
Font.Height = -13
Font.Name = '宋体'
Font.Style = [fsBold]
ParentFont = False
end
object LDL: TLabel
Left = 255
Top = 102
Width = 9
Height = 13
Caption = '0'
Font.Charset = GB2312_CHARSET
Font.Color = clAqua
Font.Height = -13
Font.Name = '宋体'
Font.Style = [fsBold]
ParentFont = False
end
object Label7: TLabel
Left = 147
Top = 126
Width = 87
Height = 13
Caption = ' 消除总行数:'
Font.Charset = GB2312_CHARSET
Font.Color = clAqua
Font.Height = -13
Font.Name = '宋体'
Font.Style = [fsBold]
ParentFont = False
end
object LDLT: TLabel
Left = 242
Top = 127
Width = 9
Height = 13
Caption = '0'
Font.Charset = GB2312_CHARSET
Font.Color = clAqua
Font.Height = -13
Font.Name = '宋体'
Font.Style = [fsBold]
ParentFont = False
end
object Label9: TLabel
Left = 155
Top = 156
Width = 37
Height = 13
Caption = '得分:'
Font.Charset = GB2312_CHARSET
Font.Color = clAqua
Font.Height = -13
Font.Name = '宋体'
Font.Style = [fsBold]
ParentFont = False
end
object LSCO: TLabel
Left = 201
Top = 157
Width = 9
Height = 13
Caption = '0'
Font.Charset = GB2312_CHARSET
Font.Color = clAqua
Font.Height = -13
Font.Name = '宋体'
Font.Style = [fsBold]
ParentFont = False
end
object KvLabel1: TKvLabel
Left = 151
Top = 0
Width = 208
Height = 81
AutoSize = False
Caption =
'使用方法: LEFT:向左; RIG' +
'HT:向右; DOWN:向下; UP:改变方向' +
'; ESC:暂停; '
Font.Charset = GB2312_CHARSET
Font.Color = clBlue
Font.Height = -13
Font.Name = '宋体'
Font.Style = [fsBold]
ParentFont = False
WordWrap = True
end
object Bevel1: TBevel
Left = 150
Top = 86
Width = 207
Height = 3
Style = bsRaised
end
object Panel1: TPanel
Left = 0
Top = 0
Width = 149
Height = 314
AutoSize = True
BevelInner = bvLowered
BorderWidth = 5
TabOrder = 0
object TETRIS1: TTETRIS
Left = 7
Top = 7
Width = 135
Height = 300
NumberOfPieces = 0
NextPiece = 1
LastDeletedLine = 0
BackGroundColor = clBlack
ScreenNumber = 0
SquareDimension = 15
ShowBorderColor = False
ShowFillColor = True
ShowNextpiece = True
NumberOfType = 8
PreviewSize = 10
PreviewCaption = '预显'
Blocktype = btButton
end
end
object MainMenu1: TMainMenu
Left = 316
Top = 158
object N1: TMenuItem
AutoHotkeys = maAutomatic
AutoLineReduction = maAutomatic
Caption = '游戏'
object S1: TMenuItem
Caption = '开始'
OnClick = S1Click
end
object T1: TMenuItem
AutoHotkeys = maAutomatic
Caption = '暂停'
OnClick = T1Click
end
object Z1: TMenuItem
Caption = '停止'
OnClick = Z1Click
end
object N2: TMenuItem
Caption = '-'
end
object X1: TMenuItem
Caption = '退出'
OnClick = X1Click
end
end
object O1: TMenuItem
Caption = '设置(&O)'
object O2: TMenuItem
Caption = '选项(&O)'
OnClick = O2Click
end
object N3: TMenuItem
Caption = '-'
end
object N4: TMenuItem
Caption = '显示预显窗口'
Checked = True
OnClick = N4Click
end
end
object H1: TMenuItem
Caption = '帮助(&H)'
object A1: TMenuItem
Bitmap.Data = {
66010000424D6601000000000000760000002800000014000000140000000100
040000000000F000000000000000000000001000000010000000000000000000
8000008000000080800080000000800080008080000080808000C0C0C0000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
8888888800008888888888888888888800008888888887778888888800008888
8888600788888888000088888888E60788888888000088888888EE6888888888
000088888888877788888888000088888888600788888888000088888888E607
78888888000088888888E660778888880000888888888E660778888800008888
888878E660778888000088888880778E660788880000888888660778E6078888
0000888888E66077E608888800008888888E660066688888000088888888E666
6E8888880000888888888EEEE888888800008888888888888888888800008888
88888888888888880000}
Caption = '关于(&A)'
end
end
end
object Timer1: TTimer
Enabled = False
OnTimer = Timer1Timer
Left = 284
Top = 158
end
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?