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

📄 main.~dfm

📁 MSCOMM控件制作的简单串口测试程序
💻 ~DFM
字号:
object MainForm: TMainForm
  Left = 223
  Top = 147
  Width = 696
  Height = 480
  Caption = 'MCM02A6U'#27979#35797#36719#20214
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object Shape1: TShape
    Left = 384
    Top = 56
    Width = 89
    Height = 57
    Shape = stCircle
  end
  object Label1: TLabel
    Left = 32
    Top = 40
    Width = 75
    Height = 13
    AutoSize = False
    Caption = #20018#21475#21495'COM'
  end
  object Label2: TLabel
    Left = 32
    Top = 64
    Width = 75
    Height = 13
    AutoSize = False
    Caption = #27874#29305#29575
  end
  object Label3: TLabel
    Left = 32
    Top = 88
    Width = 75
    Height = 13
    AutoSize = False
    Caption = #22855#20598#26657#26816#20301
  end
  object Label4: TLabel
    Left = 32
    Top = 112
    Width = 75
    Height = 13
    AutoSize = False
    Caption = #25968#25454#20301
  end
  object Label5: TLabel
    Left = 32
    Top = 136
    Width = 75
    Height = 13
    AutoSize = False
    Caption = #20572#27490#20301
  end
  object Label6: TLabel
    Left = 40
    Top = 176
    Width = 33
    Height = 21
    Alignment = taCenter
    AutoSize = False
    Caption = #22320#22336
    Layout = tlCenter
  end
  object Label7: TLabel
    Left = 128
    Top = 176
    Width = 32
    Height = 21
    Alignment = taCenter
    AutoSize = False
    Caption = #21629#20196
    Layout = tlCenter
  end
  object Label8: TLabel
    Left = 224
    Top = 176
    Width = 30
    Height = 21
    Alignment = taCenter
    AutoSize = False
    Caption = #38271#24230'1'
    Layout = tlCenter
  end
  object Label9: TLabel
    Left = 312
    Top = 176
    Width = 38
    Height = 21
    Alignment = taCenter
    AutoSize = False
    Caption = #38271#24230'2'
    Layout = tlCenter
  end
  object Label10: TLabel
    Left = 400
    Top = 176
    Width = 41
    Height = 21
    Alignment = taCenter
    AutoSize = False
    Caption = #22320#22336'1'
    Layout = tlCenter
  end
  object Label11: TLabel
    Left = 504
    Top = 176
    Width = 41
    Height = 21
    Alignment = taCenter
    AutoSize = False
    Caption = #22320#22336'2'
    Layout = tlCenter
  end
  object MSComm: TMSComm
    Left = 536
    Top = 32
    Width = 32
    Height = 32
    OnComm = MSCommComm
    ControlData = {
      2143341208000000ED030000ED03000001568A64000006000000010000040000
      00020100802500000000080000000000000000003F00000001000000}
  end
  object Com: TComboBox
    Left = 136
    Top = 40
    Width = 89
    Height = 21
    ItemHeight = 13
    TabOrder = 1
    Text = '1'
    Items.Strings = (
      '1'
      '2'
      '3'
      '4')
  end
  object BotRat: TComboBox
    Left = 136
    Top = 64
    Width = 89
    Height = 21
    ItemHeight = 13
    TabOrder = 2
    Text = '2400'
  end
  object Check: TComboBox
    Left = 136
    Top = 88
    Width = 89
    Height = 21
    ItemHeight = 13
    TabOrder = 3
    Text = 'n'
  end
  object DataSet: TComboBox
    Left = 136
    Top = 112
    Width = 89
    Height = 21
    ItemHeight = 13
    TabOrder = 4
    Text = '8'
  end
  object StopSet: TComboBox
    Left = 136
    Top = 136
    Width = 89
    Height = 21
    ItemHeight = 13
    TabOrder = 5
    Text = '1'
  end
  object Open: TButton
    Left = 296
    Top = 56
    Width = 73
    Height = 33
    Caption = #25171#24320#20018#21475
    TabOrder = 6
    OnClick = OpenClick
  end
  object Close: TButton
    Left = 296
    Top = 96
    Width = 73
    Height = 33
    Caption = #20851#38381#20018#21475
    TabOrder = 7
    OnClick = CloseClick
  end
  object Send: TButton
    Left = 288
    Top = 264
    Width = 75
    Height = 25
    Caption = #21457#36865#25968#25454
    TabOrder = 8
    OnClick = SendClick
  end
  object Save: TButton
    Left = 288
    Top = 408
    Width = 75
    Height = 25
    Caption = #20445#23384#25968#25454
    TabOrder = 9
    OnClick = SaveClick
  end
  object MemoReceive: TMemo
    Left = 40
    Top = 296
    Width = 601
    Height = 97
    Lines.Strings = (
      'Memo1')
    ScrollBars = ssVertical
    TabOrder = 10
    OnDblClick = MemoReceiveDblClick
  end
  object MemoSend: TMemo
    Left = 40
    Top = 208
    Width = 601
    Height = 49
    Lines.Strings = (
      'Memo2')
    ScrollBars = ssVertical
    TabOrder = 11
    OnDblClick = MemoSendDblClick
  end
  object Edit1: TEdit
    Left = 80
    Top = 176
    Width = 41
    Height = 21
    TabOrder = 12
  end
  object Edit2: TEdit
    Left = 168
    Top = 176
    Width = 41
    Height = 21
    TabOrder = 13
  end
  object Edit3: TEdit
    Left = 264
    Top = 176
    Width = 41
    Height = 21
    TabOrder = 14
  end
  object Edit4: TEdit
    Left = 352
    Top = 176
    Width = 41
    Height = 21
    TabOrder = 15
  end
  object Edit5: TEdit
    Left = 448
    Top = 176
    Width = 41
    Height = 21
    TabOrder = 16
  end
  object Edit6: TEdit
    Left = 552
    Top = 176
    Width = 41
    Height = 21
    TabOrder = 17
  end
  object SaveDialog1: TSaveDialog
    Left = 576
    Top = 32
  end
end

⌨️ 快捷键说明

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