📄 main.dfm
字号:
object Form1: TForm1
Left = 160
Top = 78
Width = 544
Height = 406
Caption = 'CRC16/CRC8/CRC32计算测试程序 (电猫工作室http://emouze.com)'
Color = clBtnFace
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = '宋体'
Font.Style = []
OldCreateOrder = False
Position = poDesktopCenter
PixelsPerInch = 96
TextHeight = 12
object Label1: TLabel
Left = 32
Top = 68
Width = 60
Height = 12
Caption = '16位多项式'
end
object Label2: TLabel
Left = 32
Top = 92
Width = 54
Height = 12
Caption = '8位多项式'
end
object Label3: TLabel
Left = 32
Top = 116
Width = 60
Height = 12
Caption = '32位多项式'
end
object Label4: TLabel
Left = 288
Top = 14
Width = 54
Height = 12
Caption = 'CRC初始值'
end
object Label7: TLabel
Left = 288
Top = 68
Width = 42
Height = 12
Caption = 'CRC16 ='
end
object Label8: TLabel
Left = 288
Top = 92
Width = 42
Height = 12
Caption = 'CRC8 ='
end
object Label9: TLabel
Left = 288
Top = 116
Width = 42
Height = 12
Caption = 'CRC32 ='
end
object Memo1: TMemo
Left = 16
Top = 144
Width = 505
Height = 222
Anchors = [akLeft, akTop, akRight, akBottom]
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = '宋体'
Font.Style = []
ParentFont = False
ScrollBars = ssVertical
TabOrder = 16
end
object TestCRC16Btn: TButton
Left = 184
Top = 64
Width = 75
Height = 22
Caption = '测试CRC16'
TabOrder = 3
OnClick = TestCRC16BtnClick
end
object CalCRC16Btn: TButton
Left = 416
Top = 64
Width = 75
Height = 22
Caption = '计算CRC16'
TabOrder = 11
OnClick = CalCRC16BtnClick
end
object TestCRC8Btn: TButton
Left = 184
Top = 88
Width = 75
Height = 22
Caption = '测试CRC8'
TabOrder = 5
OnClick = TestCRC8BtnClick
end
object CalCRC8Btn: TButton
Left = 416
Top = 88
Width = 75
Height = 22
Caption = '计算CRC8'
TabOrder = 13
OnClick = CalCRC8BtnClick
end
object GenPoly16Edit: TEdit
Left = 104
Top = 64
Width = 65
Height = 20
TabOrder = 2
Text = '$1021'
end
object GenPoly8Edit: TEdit
Left = 104
Top = 88
Width = 65
Height = 20
TabOrder = 4
Text = '$8C'
end
object GenPoly32Edit: TEdit
Left = 104
Top = 112
Width = 65
Height = 20
TabOrder = 6
Text = '$EDB88320'
end
object TestCRC32Btn: TButton
Left = 184
Top = 112
Width = 75
Height = 22
Caption = '测试CRC32'
TabOrder = 7
OnClick = TestCRC32BtnClick
end
object CalCRC32Btn: TButton
Left = 416
Top = 112
Width = 75
Height = 22
Caption = '计算CRC32'
TabOrder = 15
OnClick = CalCRC32BtnClick
end
object CRC16ResultEdit: TEdit
Left = 336
Top = 64
Width = 65
Height = 20
TabOrder = 10
end
object CRC8ResultEdit: TEdit
Left = 336
Top = 88
Width = 65
Height = 20
TabOrder = 12
end
object CRC32ResultEdit: TEdit
Left = 336
Top = 112
Width = 65
Height = 20
TabOrder = 14
end
object CRCStartEdit: TEdit
Left = 352
Top = 10
Width = 65
Height = 20
TabOrder = 8
Text = '$00000000'
end
object Panel1: TPanel
Left = 32
Top = 8
Width = 201
Height = 25
BevelOuter = bvNone
TabOrder = 0
object Label5: TLabel
Left = 0
Top = 6
Width = 48
Height = 12
Caption = '数据流向'
end
object HighFirstRB: TRadioButton
Left = 56
Top = 4
Width = 65
Height = 17
Caption = '高位先行'
Checked = True
TabOrder = 0
TabStop = True
end
object LowFirstRB: TRadioButton
Left = 128
Top = 4
Width = 65
Height = 17
Caption = '低位先行'
TabOrder = 1
end
end
object Panel2: TPanel
Left = 32
Top = 32
Width = 201
Height = 25
BevelOuter = bvNone
TabOrder = 1
object Label6: TLabel
Left = 0
Top = 7
Width = 48
Height = 12
Caption = '计算方法'
end
object BitCalcRB: TRadioButton
Left = 56
Top = 4
Width = 65
Height = 17
Caption = '按位计算'
Checked = True
TabOrder = 0
TabStop = True
end
object TableCalcRB: TRadioButton
Left = 128
Top = 4
Width = 65
Height = 17
Caption = '查表计算'
TabOrder = 1
end
end
object FlipResultCB: TCheckBox
Left = 288
Top = 34
Width = 89
Height = 17
Caption = '计算结果取反'
TabOrder = 9
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -