📄 udp.~dfm
字号:
object Form1: TForm1
Left = 192
Top = 107
Width = 696
Height = 480
Caption = 'Form1'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clMaroon
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 16
object Label2: TLabel
Left = 32
Top = 224
Width = 80
Height = 16
Caption = '对方的IP地址:'
end
object Label3: TLabel
Left = 40
Top = 248
Width = 55
Height = 16
Caption = '对方端口:'
end
object Label1: TLabel
Left = 40
Top = 40
Width = 55
Height = 16
Caption = '信息内容:'
end
object Label4: TLabel
Left = 40
Top = 288
Width = 52
Height = 16
Caption = '本机端口'
end
object Label5: TLabel
Left = 472
Top = 48
Width = 68
Height = 16
Caption = '收到的信息:'
end
object Memo1: TMemo
Left = 112
Top = 40
Width = 281
Height = 153
Lines.Strings = (
'hello!')
TabOrder = 0
end
object Edit1: TEdit
Left = 120
Top = 216
Width = 185
Height = 24
TabOrder = 1
Text = '192.168.0.7'
end
object Edit2: TEdit
Left = 120
Top = 248
Width = 121
Height = 24
TabOrder = 2
Text = '1025'
end
object BitBtn1: TBitBtn
Left = 128
Top = 328
Width = 75
Height = 25
Caption = '发送'
TabOrder = 3
OnClick = BitBtn1Click
end
object Edit3: TEdit
Left = 120
Top = 280
Width = 121
Height = 24
TabOrder = 4
Text = '1025'
end
object CheckBox1: TCheckBox
Left = 72
Top = 376
Width = 193
Height = 17
Caption = '定时发送(每3秒一次)'
TabOrder = 5
end
object Memo2: TMemo
Left = 408
Top = 72
Width = 249
Height = 297
TabOrder = 6
end
object NMUDP1: TNMUDP
RemoteHost = '192.168.0.7'
RemotePort = 1025
LocalPort = 1025
ReportLevel = 1
OnDataReceived = NMUDP1DataReceived
Left = 40
Top = 88
end
object Timer1: TTimer
Interval = 3000
OnTimer = Timer1Timer
Left = 336
Top = 344
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -