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

📄 comm.dfm

📁 1.用RS-232的零MODEM的连接法连好两机的连线; 2.用DOS的MODE命令设置好两机的通讯格式
💻 DFM
字号:
object SerialPort: TSerialPort
  Left = 241
  Top = 119
  Width = 584
  Height = 443
  Caption = #20004#26426#36890#35759
  Color = clSkyBlue
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object GroupBox1: TGroupBox
    Left = 0
    Top = 0
    Width = 561
    Height = 129
    Caption = #25509#25910#26694
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = #23435#20307
    Font.Style = []
    ParentFont = False
    TabOrder = 0
    object Memo: TMemo
      Left = 4
      Top = 15
      Width = 565
      Height = 226
      Color = clInactiveCaptionText
      ReadOnly = True
      ScrollBars = ssVertical
      TabOrder = 0
    end
  end
  object GroupBox2: TGroupBox
    Left = 0
    Top = 136
    Width = 569
    Height = 89
    Caption = #21442#25968#35774#32622
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = #23435#20307
    Font.Style = []
    ParentFont = False
    TabOrder = 1
    object Label1: TLabel
      Left = 308
      Top = 26
      Width = 30
      Height = 15
      Caption = #20018#21475
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -15
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object Label2: TLabel
      Left = 4
      Top = 26
      Width = 45
      Height = 15
      Caption = #27874#29305#29575
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -15
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object Label3: TLabel
      Left = 152
      Top = 24
      Width = 45
      Height = 15
      Caption = #25968#25454#20301
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -15
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object Label4: TLabel
      Left = 4
      Top = 58
      Width = 45
      Height = 15
      Caption = #20572#27490#20301
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -15
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object Label5: TLabel
      Left = 152
      Top = 56
      Width = 45
      Height = 15
      Caption = #26816#39564#20301
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -15
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object Shape1: TShape
      Left = 352
      Top = 16
      Width = 41
      Height = 33
      Hint = #32418#33394#34920#31034#24050#25171#24320#20018#21475#65292#32511#33394#34920#31034#36824#27809#26377#25171#24320#12290
      ParentShowHint = False
      Shape = stCircle
      ShowHint = True
    end
    object CmbComName: TComboBox
      Left = 310
      Top = 55
      Width = 82
      Height = 21
      Color = clInactiveCaptionText
      ItemHeight = 13
      ParentShowHint = False
      ShowHint = False
      TabOrder = 0
      Text = 'COM1'
      Items.Strings = (
        'COM1'
        'COM2')
    end
    object CmbBaudRate: TComboBox
      Left = 54
      Top = 23
      Width = 82
      Height = 21
      Color = clInactiveCaptionText
      ItemHeight = 13
      ItemIndex = 3
      ParentShowHint = False
      ShowHint = False
      TabOrder = 1
      Text = '9600'
      Items.Strings = (
        '1200'
        '2400'
        '4800'
        '9600'
        '19200')
    end
    object CmbByteSize: TComboBox
      Left = 206
      Top = 23
      Width = 82
      Height = 21
      Color = clInactiveCaptionText
      ItemHeight = 13
      ParentShowHint = False
      ShowHint = False
      TabOrder = 2
      Text = '8'
      Items.Strings = (
        '5'
        '6'
        '7'
        '8')
    end
    object CmbStopBits: TComboBox
      Left = 54
      Top = 55
      Width = 82
      Height = 21
      Color = clInactiveCaptionText
      ItemHeight = 13
      ParentShowHint = False
      ShowHint = False
      TabOrder = 3
      Text = '1'
      Items.Strings = (
        '1'
        '2')
    end
    object CmbParity: TComboBox
      Left = 206
      Top = 55
      Width = 82
      Height = 21
      Color = clInactiveCaptionText
      ItemHeight = 13
      ParentShowHint = False
      ShowHint = False
      TabOrder = 4
      Text = #26080
      Items.Strings = (
        #26080
        #22855#26657#39564
        #20598#26816#39564)
    end
    object BtnOpen: TButton
      Left = 401
      Top = 18
      Width = 88
      Height = 25
      Caption = #25171#24320#20018#21475
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      TabOrder = 5
      OnClick = BtnOpenClick
    end
    object BtnClose: TButton
      Left = 401
      Top = 52
      Width = 88
      Height = 25
      Caption = #20851#38381#20018#21475
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      TabOrder = 6
      OnClick = BtnCloseClick
    end
    object BtnExit: TButton
      Left = 498
      Top = 24
      Width = 57
      Height = 56
      Caption = #36864#20986
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -21
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      TabOrder = 7
      OnClick = BtnExitClick
    end
  end
  object GroupBox3: TGroupBox
    Left = 0
    Top = 232
    Width = 569
    Height = 49
    Caption = #20256#36865#25968#25454
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = #23435#20307
    Font.Style = []
    ParentFont = False
    TabOrder = 2
    object EdtSend: TEdit
      Left = 3
      Top = 16
      Width = 470
      Height = 21
      Color = clInactiveCaptionText
      TabOrder = 0
    end
    object BtnSendChar: TButton
      Left = 480
      Top = 16
      Width = 73
      Height = 23
      Caption = #21457#36865
      TabOrder = 1
      OnClick = BtnSendCharClick
    end
  end
  object GroupBox4: TGroupBox
    Left = 0
    Top = 288
    Width = 569
    Height = 113
    Caption = #20256#36865#25991#20214
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = #23435#20307
    Font.Style = []
    ParentFont = False
    TabOrder = 3
    object Label7: TLabel
      Left = 5
      Top = 82
      Width = 60
      Height = 15
      Caption = #25509#21463#36827#24230
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -15
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object Label6: TLabel
      Left = 8
      Top = 24
      Width = 132
      Height = 13
      Caption = #24050#25171#24320#30340#25991#20214#36335#24452'    '
    end
    object EdtFile: TEdit
      Left = 8
      Top = 38
      Width = 465
      Height = 21
      Color = clInactiveCaptionText
      TabOrder = 0
    end
    object BtnBrowse: TButton
      Left = 480
      Top = 12
      Width = 73
      Height = 25
      Caption = #25171#24320#25991#20214
      TabOrder = 1
      OnClick = BtnBrowseClick
    end
    object BtnSendFile: TButton
      Left = 480
      Top = 40
      Width = 73
      Height = 25
      Caption = #21457#36865#25991#20214
      TabOrder = 2
      OnClick = BtnSendFileClick
    end
    object PbReceive: TProgressBar
      Left = 85
      Top = 81
      Width = 388
      Height = 18
      Min = 0
      Max = 100
      TabOrder = 3
    end
    object BtnCancelSend: TButton
      Left = 314
      Top = 115
      Width = 80
      Height = 26
      Caption = #21462#28040#21457#36865
      TabOrder = 4
      Visible = False
      OnClick = BtnCancelSendClick
    end
    object BtnCancelRece: TButton
      Left = 332
      Top = 119
      Width = 81
      Height = 26
      Caption = #21462#28040#25509#25910
      TabOrder = 5
      Visible = False
      OnClick = BtnCancelReceClick
    end
  end
  object StatusBar: TStatusBar
    Left = 0
    Top = 401
    Width = 576
    Height = 7
    Panels = <
      item
        Width = 150
      end
      item
        Width = 50
      end
      item
        Width = 50
      end>
    SimplePanel = False
    Visible = False
  end
  object OpenDialog: TOpenDialog
    Filter = #25152#26377#25991#20214#65288'*.*'#65289
    Left = 120
    Top = 48
  end
  object SaveDialog: TSaveDialog
    Filter = #25152#26377#25991#20214#31867#22411' (*.*)'
    Left = 176
    Top = 48
  end
end

⌨️ 快捷键说明

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