📄 unit1.dfm
字号:
object Form1: TForm1
Left = 244
Top = 198
Width = 529
Height = 246
Caption = 'RS-232 Digital Output'
Color = clBtnFace
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = '宋体'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 11
object spDTR: TShape
Left = 88
Top = 144
Width = 49
Height = 49
Shape = stCircle
end
object spRTS: TShape
Left = 312
Top = 144
Width = 49
Height = 49
Shape = stCircle
end
object rdCOM: TRadioGroup
Left = 40
Top = 8
Width = 113
Height = 81
Caption = '选择通信端口'
Font.Charset = GB2312_CHARSET
Font.Color = clBlue
Font.Height = -16
Font.Name = '宋体'
Font.Style = []
ItemIndex = 0
Items.Strings = (
'COM1'
'COM2')
ParentFont = False
TabOrder = 0
end
object Button1: TButton
Left = 176
Top = 24
Width = 113
Height = 41
Caption = '打开通信端口'
Font.Charset = GB2312_CHARSET
Font.Color = clBlue
Font.Height = -16
Font.Name = '宋体'
Font.Style = []
ParentFont = False
TabOrder = 1
OnClick = Button1Click
end
object Button2: TButton
Left = 328
Top = 24
Width = 113
Height = 41
Caption = '结束系统'
Font.Charset = GB2312_CHARSET
Font.Color = clBlue
Font.Height = -16
Font.Name = '宋体'
Font.Style = []
ParentFont = False
TabOrder = 2
OnClick = Button2Click
end
object BitBtn1: TBitBtn
Left = 160
Top = 136
Width = 97
Height = 57
Caption = 'DTR ON'
Font.Charset = DEFAULT_CHARSET
Font.Color = clGreen
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 3
OnClick = BitBtn1Click
Kind = bkOK
Layout = blGlyphTop
end
object BitBtn2: TBitBtn
Left = 392
Top = 136
Width = 97
Height = 57
Caption = 'RTS ON'
Font.Charset = DEFAULT_CHARSET
Font.Color = clRed
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 4
OnClick = BitBtn2Click
Kind = bkOK
Layout = blGlyphTop
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -