⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serverunit.dfm

📁 TCPSocket通信编程 TCPSocket编程的简单实例
💻 DFM
字号:
object Form1: TForm1
  Left = 227
  Top = 107
  Width = 477
  Height = 498
  Caption = 'Server'#23454#20363'-Delphi'
  Color = clBtnFace
  Font.Charset = ANSI_CHARSET
  Font.Color = clWindowText
  Font.Height = -14
  Font.Name = #23435#20307
  Font.Style = []
  OldCreateOrder = False
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 14
  object Label1: TLabel
    Left = 24
    Top = 48
    Width = 63
    Height = 14
    Caption = 'Litsening'
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -14
    Font.Name = #23435#20307
    Font.Style = []
    ParentFont = False
  end
  object Label2: TLabel
    Left = 216
    Top = 48
    Width = 105
    Height = 13
    AutoSize = False
    Caption = #24050#36830#25509#23458#25143
  end
  object Label3: TLabel
    Left = 216
    Top = 248
    Width = 97
    Height = 13
    AutoSize = False
    Caption = #24403#21069#23458#25143
  end
  object Label4: TLabel
    Left = 16
    Top = 16
    Width = 73
    Height = 13
    AutoSize = False
    Caption = 'Port'
  end
  object Label5: TLabel
    Left = 96
    Top = 336
    Width = 42
    Height = 14
    Caption = #23383#31526#25968
  end
  object StringGrid1: TStringGrid
    Left = 216
    Top = 72
    Width = 225
    Height = 169
    ColCount = 2
    TabOrder = 0
    ColWidths = (
      29
      167)
  end
  object Memo1: TMemo
    Left = 16
    Top = 72
    Width = 185
    Height = 241
    TabOrder = 1
  end
  object StringGrid2: TStringGrid
    Left = 216
    Top = 264
    Width = 225
    Height = 177
    ColCount = 2
    RowCount = 6
    TabOrder = 2
    ColWidths = (
      84
      115)
  end
  object Memo2: TMemo
    Left = 16
    Top = 360
    Width = 193
    Height = 81
    Lines.Strings = (
      '0123456789'#36890#35759#32534#31243#28436#31034)
    TabOrder = 3
  end
  object Button1: TButton
    Left = 16
    Top = 328
    Width = 75
    Height = 25
    Caption = #21457#36865
    TabOrder = 4
    OnClick = Button1Click
  end
  object ServerSocket1: TServerSocket
    Active = False
    Port = 2222
    ServerType = stNonBlocking
    OnListen = ServerSocket1Listen
    OnAccept = ServerSocket1Accept
    OnClientConnect = ServerSocket1ClientConnect
    OnClientDisconnect = ServerSocket1ClientDisconnect
    OnClientRead = ServerSocket1ClientRead
    OnClientError = ServerSocket1ClientError
    Left = 128
    Top = 16
  end
  object Timer1: TTimer
    Interval = 300
    OnTimer = Timer1Timer
    Left = 384
    Top = 24
  end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -