📄 unit1.~dfm
字号:
object Form1: TForm1
Left = 225
Top = 156
Width = 696
Height = 480
Caption = 'DCS'#20027#31449
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
OnCreate = FormCreate
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object ComboBox1: TComboBox
Left = 8
Top = 16
Width = 81
Height = 21
Color = clMoneyGreen
ItemHeight = 13
ItemIndex = 0
TabOrder = 0
Text = 'com1'
Items.Strings = (
'com1'
'com2'
'com3'
'com4'
'com5'
'com6'
'com7'
'com8'
'com9'
'com10'
'com11'
'com12'
'com13'
'com14'
'com15'
'com16'
'com17'
'com18'
'com19'
'com20'
'com21'
'com22'
'com23'
'com24'
'com25')
end
object Button1: TButton
Left = 440
Top = 8
Width = 57
Height = 33
Caption = #25171#24320
Enabled = False
TabOrder = 1
OnClick = Button1Click
end
object Button2: TButton
Left = 8
Top = 416
Width = 65
Height = 33
Caption = #36864#20986#31243#24207
TabOrder = 2
OnClick = Button2Click
end
object RadioGroup1: TRadioGroup
Left = 0
Top = 64
Width = 89
Height = 89
Caption = #21457#36865#25968#25454#31867#22411
Color = clMoneyGreen
ItemIndex = 0
Items.Strings = (
'ASCII'
'16'#36827#21046)
ParentColor = False
TabOrder = 3
OnClick = RadioGroup1Click
end
object btnSend: TButton
Left = 56
Top = 160
Width = 41
Height = 33
Caption = #21457#36865
Enabled = False
TabOrder = 4
OnClick = btnSendClick
end
object RadioGroup2: TRadioGroup
Left = 0
Top = 240
Width = 89
Height = 89
Caption = #25509#25910#25968#25454#31867#22411
Color = clMoneyGreen
ItemIndex = 0
Items.Strings = (
'ASCII'
'16'#36827#21046)
ParentColor = False
TabOrder = 5
end
object mSend: TMemo
Left = 104
Top = 64
Width = 577
Height = 169
Color = clMoneyGreen
ScrollBars = ssVertical
TabOrder = 6
OnChange = mSendChange
OnKeyPress = mSendKeyPress
end
object mReceive: TMemo
Left = 104
Top = 240
Width = 577
Height = 193
Color = clMoneyGreen
ScrollBars = ssVertical
TabOrder = 7
OnChange = mReceiveChange
end
object Button3: TButton
Left = 8
Top = 336
Width = 57
Height = 33
Caption = #28165#31354
TabOrder = 8
OnClick = Button3Click
end
object cbRepeat: TCheckBox
Left = 0
Top = 168
Width = 49
Height = 17
Caption = #24490#29615
TabOrder = 9
end
object cbBaud: TComboBox
Left = 104
Top = 16
Width = 73
Height = 21
Color = clMoneyGreen
ItemHeight = 13
ItemIndex = 6
TabOrder = 10
Text = '9600'
Items.Strings = (
'150'
'300'
'600'
'1200'
'2400'
'4800'
'9600'
'19200'
'38400'
'57600'
'115200'
'230400'
'460800'
'921600')
end
object cbData: TComboBox
Left = 184
Top = 16
Width = 73
Height = 21
Color = clMoneyGreen
ItemHeight = 13
ItemIndex = 3
TabOrder = 11
Text = '8'
Items.Strings = (
'5'
'6'
'7'
'8')
end
object cbCheck: TComboBox
Left = 264
Top = 16
Width = 81
Height = 21
Color = clMoneyGreen
ItemHeight = 13
ItemIndex = 0
TabOrder = 12
Text = 'None'
Items.Strings = (
'None'
'Odd'
'Even'
'Mark'
'Space')
end
object cbStop: TComboBox
Left = 352
Top = 16
Width = 73
Height = 21
Color = clMoneyGreen
ItemHeight = 13
ItemIndex = 0
TabOrder = 13
Text = '1'
Items.Strings = (
'1'
'1.5'
'2')
end
object Button4: TButton
Left = 8
Top = 200
Width = 89
Height = 25
Caption = 'DCS'#35797#39564
Enabled = False
TabOrder = 14
OnClick = Button4Click
end
object Edit1: TEdit
Left = 536
Top = 16
Width = 73
Height = 21
TabOrder = 15
Text = '1'
end
object Timer1: TTimer
Enabled = False
Interval = 500
OnTimer = Timer1Timer
Left = 280
Top = 72
end
object Timer2: TTimer
Interval = 300
OnTimer = Timer2Timer
Left = 456
Top = 104
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -