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

📄 unit1.dfm

📁 实现串口通信 主要是利用COMMS控件实现程序,希望对各位朋友都有或多或少的帮助,如有不足之处还请多指教 谢谢
💻 DFM
字号:
object Form1: TForm1
  Left = 247
  Top = 114
  Width = 544
  Height = 375
  Caption = 'Form1'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 13
  object Shape1: TShape
    Left = 264
    Top = 16
    Width = 65
    Height = 65
    Shape = stCircle
  end
  object MSComm1: TMSComm
    Left = 96
    Top = 24
    Width = 32
    Height = 32
    OnComm = MSComm1Comm
    ControlData = {
      2143341208000000ED030000ED03000001568A64000006000A00010000040000
      00020000802500000000080000000000000000003F00000001000000}
  end
  object Button1: TButton
    Left = 432
    Top = 88
    Width = 75
    Height = 25
    Caption = #25171#24320#20018#21475
    TabOrder = 1
    OnClick = Button1Click
  end
  object Button2: TButton
    Left = 432
    Top = 144
    Width = 75
    Height = 25
    Caption = #20851#38381#20018#21475
    TabOrder = 2
    OnClick = Button2Click
  end
  object Button3: TButton
    Left = 432
    Top = 208
    Width = 75
    Height = 25
    Caption = #21457#36865#25968#25454
    TabOrder = 3
    OnClick = Button3Click
  end
  object Button4: TButton
    Left = 432
    Top = 272
    Width = 75
    Height = 25
    Caption = #20445#23384#25968#25454
    TabOrder = 4
    OnClick = Button4Click
  end
  object ComboBox1: TComboBox
    Left = 40
    Top = 88
    Width = 145
    Height = 21
    ItemHeight = 13
    TabOrder = 5
    Text = 'ComboBox1'
    Items.Strings = (
      '1 COM1'
      '2 COM2'
      '3 COM3'
      '4 COM4')
  end
  object ComboBox2: TComboBox
    Left = 40
    Top = 136
    Width = 145
    Height = 21
    ItemHeight = 13
    TabOrder = 6
    Text = 'ComboBox2'
    Items.Strings = (
      '9600')
  end
  object ComboBox3: TComboBox
    Left = 40
    Top = 192
    Width = 145
    Height = 21
    ItemHeight = 13
    TabOrder = 7
    Text = 'ComboBox3'
    Items.Strings = (
      'n')
  end
  object ComboBox4: TComboBox
    Left = 40
    Top = 232
    Width = 145
    Height = 21
    ItemHeight = 13
    TabOrder = 8
    Text = 'ComboBox4'
    Items.Strings = (
      '8')
  end
  object ComboBox5: TComboBox
    Left = 40
    Top = 280
    Width = 145
    Height = 21
    ItemHeight = 13
    TabOrder = 9
    Text = 'ComboBox5'
    Items.Strings = (
      '1')
  end
  object Memo1: TMemo
    Left = 216
    Top = 96
    Width = 185
    Height = 89
    Lines.Strings = (
      'Memo1')
    TabOrder = 10
  end
  object Memo2: TMemo
    Left = 216
    Top = 208
    Width = 185
    Height = 89
    Lines.Strings = (
      'Memo2')
    TabOrder = 11
  end
  object SaveDialog1: TSaveDialog
    Left = 448
    Top = 32
  end
end

⌨️ 快捷键说明

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