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

📄 umain.dfm

📁 一个实现端口映射的例子
💻 DFM
字号:
object MainFrm: TMainFrm
  Left = 192
  Top = 107
  BorderIcons = [biSystemMenu, biMinimize]
  BorderStyle = bsSingle
  Caption = #31471#21475
  ClientHeight = 348
  ClientWidth = 536
  Color = clBtnFace
  Font.Charset = GB2312_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = #23435#20307
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  PixelsPerInch = 96
  TextHeight = 12
  object Label1: TLabel
    Left = 184
    Top = 22
    Width = 60
    Height = 12
    Caption = #30446#26631#22320#22336#65306
  end
  object Label2: TLabel
    Left = 360
    Top = 22
    Width = 60
    Height = 12
    Caption = #30446#26631#31471#21475#65306
  end
  object Button1: TButton
    Left = 16
    Top = 16
    Width = 75
    Height = 25
    Caption = #21551#21160#30417#21548
    TabOrder = 0
    OnClick = Button1Click
  end
  object Button2: TButton
    Left = 96
    Top = 16
    Width = 75
    Height = 25
    Caption = #20572#27490#30417#21548
    TabOrder = 1
    OnClick = Button2Click
  end
  object Edit1: TEdit
    Left = 248
    Top = 18
    Width = 105
    Height = 20
    TabOrder = 2
    Text = '10.1.17.58'
  end
  object Edit2: TEdit
    Left = 424
    Top = 18
    Width = 49
    Height = 20
    TabOrder = 3
    Text = '1009'
  end
  object ListBox1: TListBox
    Left = 16
    Top = 48
    Width = 505
    Height = 257
    ItemHeight = 12
    TabOrder = 4
  end
  object Button3: TButton
    Left = 480
    Top = 16
    Width = 43
    Height = 25
    Caption = 'sta'
    TabOrder = 5
    OnClick = Button3Click
  end
  object CheckBox1: TCheckBox
    Left = 16
    Top = 312
    Width = 97
    Height = 17
    Caption = 'CheckBox1'
    TabOrder = 6
  end
  object Button4: TButton
    Left = 256
    Top = 312
    Width = 75
    Height = 25
    Caption = 'Clear'
    TabOrder = 7
    OnClick = Button4Click
  end
  object CheckBox2: TCheckBox
    Left = 128
    Top = 312
    Width = 97
    Height = 17
    Caption = 'CheckBox2'
    TabOrder = 8
    OnClick = CheckBox2Click
  end
  object Server1: TServerSocket
    Active = False
    Port = 10080
    ServerType = stNonBlocking
    OnListen = Server1Listen
    OnClientConnect = Server1ClientConnect
    OnClientDisconnect = Server1ClientDisconnect
    OnClientRead = Server1ClientRead
    OnClientWrite = Server1ClientWrite
    OnClientError = Server1ClientError
    Left = 24
    Top = 56
  end
  object Client1: TClientSocket
    Active = False
    ClientType = ctNonBlocking
    Port = 0
    OnConnect = Client1Connect
    OnDisconnect = Client1Disconnect
    OnRead = Client1Read
    OnWrite = Client1Write
    OnError = Client1Error
    Left = 56
    Top = 56
  end
  object Timer1: TTimer
    Enabled = False
    Interval = 100
    OnTimer = Timer1Timer
    Left = 88
    Top = 56
  end
end

⌨️ 快捷键说明

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