unit1.dfm

来自「C++Builder高级应用开发指南随书源码」· DFM 代码 · 共 85 行

DFM
85
字号
object Form1: TForm1
  Left = 311
  Top = 153
  BorderStyle = bsDialog
  Caption = '系统硬件信息'
  ClientHeight = 265
  ClientWidth = 413
  Color = clBtnFace
  Font.Charset = ANSI_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = '宋体'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 12
  object LabelCPU: TLabel
    Left = 32
    Top = 16
    Width = 30
    Height = 12
    Caption = 'CPU:'
  end
  object LabelMemory: TLabel
    Left = 32
    Top = 48
    Width = 36
    Height = 12
    Caption = '内存:'
  end
  object LabelDisk: TLabel
    Left = 32
    Top = 80
    Width = 36
    Height = 12
    Caption = '硬盘:'
  end
  object LabelCD: TLabel
    Left = 32
    Top = 112
    Width = 48
    Height = 12
    Caption = 'CD-ROM:'
  end
  object LabelWave: TLabel
    Left = 32
    Top = 144
    Width = 36
    Height = 12
    Caption = '声卡:'
  end
  object LabelVideo: TLabel
    Left = 32
    Top = 192
    Width = 48
    Height = 12
    Caption = '显示器:'
  end
  object Bevel1: TBevel
    Left = 16
    Top = 208
    Width = 385
    Height = 10
    Shape = bsBottomLine
  end
  object ButtonOK: TButton
    Left = 176
    Top = 232
    Width = 75
    Height = 25
    Caption = '显示'
    TabOrder = 0
    OnClick = ButtonOKClick
  end
  object ButtonCancel: TButton
    Left = 296
    Top = 232
    Width = 75
    Height = 25
    Caption = '退出'
    TabOrder = 1
    OnClick = ButtonCancelClick
  end
end

⌨️ 快捷键说明

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