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

📄 unit1.~dfm

📁 用Delphi写的计算器程序
💻 ~DFM
字号:
object Form1: TForm1
  Left = 314
  Top = 113
  Width = 527
  Height = 627
  Caption = 'Form1'
  Color = clBtnFace
  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 Edit1: TEdit
    Left = 32
    Top = 24
    Width = 425
    Height = 49
    AutoSize = False
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clMaroon
    Font.Height = -40
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 0
  end
  object Button1: TButton
    Left = 48
    Top = 120
    Width = 75
    Height = 57
    Caption = '1'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 1
    OnClick = Button1Click
  end
  object Buttonn5: TButton
    Left = 149
    Top = 220
    Width = 75
    Height = 57
    Caption = '5'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 2
    OnClick = Buttonn5Click
  end
  object Buttonn4: TButton
    Left = 48
    Top = 221
    Width = 75
    Height = 57
    Caption = '4'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 3
    OnClick = Buttonn4Click
  end
  object Buttonn3: TButton
    Left = 258
    Top = 120
    Width = 75
    Height = 57
    Caption = '3'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 4
    OnClick = Buttonn3Click
  end
  object Buttonn2: TButton
    Left = 149
    Top = 120
    Width = 75
    Height = 57
    Caption = '2'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 5
    OnClick = Buttonn2Click
  end
  object Buttonadd: TButton
    Left = 363
    Top = 120
    Width = 75
    Height = 57
    Caption = '+'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 6
    OnClick = ButtonaddClick
  end
  object Buttonn9: TButton
    Left = 258
    Top = 320
    Width = 75
    Height = 57
    Caption = '9'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 7
    OnClick = Buttonn9Click
  end
  object Buttonn8: TButton
    Left = 149
    Top = 320
    Width = 75
    Height = 57
    Caption = '8'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 8
    OnClick = Buttonn8Click
  end
  object Buttonn7: TButton
    Left = 48
    Top = 322
    Width = 75
    Height = 57
    Caption = '7'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 9
    OnClick = Buttonn7Click
  end
  object Buttonn6: TButton
    Left = 258
    Top = 220
    Width = 75
    Height = 57
    Caption = '6'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 10
    OnClick = Buttonn6Click
  end
  object Buttonaddsub: TButton
    Left = 258
    Top = 420
    Width = 75
    Height = 57
    Caption = '+/-'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 11
    OnClick = ButtonaddsubClick
  end
  object Buttonpoint: TButton
    Left = 149
    Top = 420
    Width = 75
    Height = 57
    Caption = '.'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 12
    OnClick = ButtonpointClick
  end
  object ButtonDiv: TButton
    Left = 363
    Top = 420
    Width = 75
    Height = 57
    Caption = '/'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 13
    OnClick = ButtonDivClick
  end
  object Buttonmul: TButton
    Left = 363
    Top = 320
    Width = 75
    Height = 57
    Caption = '*'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 14
    OnClick = ButtonmulClick
  end
  object Buttonsub: TButton
    Left = 363
    Top = 220
    Width = 75
    Height = 57
    Caption = '-'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 15
    OnClick = ButtonsubClick
  end
  object Button0: TButton
    Left = 48
    Top = 424
    Width = 75
    Height = 57
    Caption = '0'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 16
    OnClick = Button0Click
  end
  object Buttonequal: TButton
    Left = 363
    Top = 520
    Width = 75
    Height = 57
    Caption = '='
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 17
    OnClick = ButtonequalClick
  end
  object Buttonc: TButton
    Left = 258
    Top = 520
    Width = 75
    Height = 57
    Caption = 'c'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 18
    OnClick = ButtoncClick
  end
  object Buttondelete: TButton
    Left = 149
    Top = 520
    Width = 75
    Height = 57
    Caption = '<-'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
    TabOrder = 19
    OnClick = ButtondeleteClick
  end
  object RadioButtonDec: TRadioButton
    Left = 56
    Top = 96
    Width = 113
    Height = 17
    Caption = #21313#36827#21046
    Checked = True
    TabOrder = 20
    TabStop = True
    OnClick = RadioButtonDecClick
  end
  object RadioButtonBin: TRadioButton
    Left = 168
    Top = 96
    Width = 113
    Height = 17
    Caption = #20108#36827#21046
    TabOrder = 21
    OnClick = RadioButtonBinClick
  end
  object RadioButtonBa: TRadioButton
    Left = 296
    Top = 96
    Width = 113
    Height = 17
    Caption = #20843#36827#21046
    TabOrder = 22
    OnClick = RadioButtonBaClick
  end
end

⌨️ 快捷键说明

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