unitsetprice.dfm

来自「自己做过的工程」· DFM 代码 · 共 225 行

DFM
225
字号
object formsetprice: Tformsetprice
  Left = 128
  Top = 106
  BorderStyle = bsDialog
  Caption = #20215#26684#35774#23450
  ClientHeight = 382
  ClientWidth = 546
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Page_price: TPageControl
    Left = 0
    Top = 0
    Width = 545
    Height = 297
    ActivePage = tab_roomprice
    Font.Charset = ANSI_CHARSET
    Font.Color = clBlack
    Font.Height = -14
    Font.Name = #23435#20307
    Font.Style = []
    ParentFont = False
    TabIndex = 0
    TabOrder = 0
    object tab_roomprice: TTabSheet
      Caption = #25151#38388#20215#26684#35774#23450
      Font.Charset = ANSI_CHARSET
      Font.Color = clBlack
      Font.Height = -14
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      OnShow = tab_roompriceShow
      object DBGrid1: TDBGrid
        Left = 8
        Top = 6
        Width = 521
        Height = 251
        DataSource = DataSourceroom
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -14
        Font.Name = #23435#20307
        Font.Style = []
        ParentFont = False
        ReadOnly = True
        TabOrder = 0
        TitleFont.Charset = ANSI_CHARSET
        TitleFont.Color = clBlue
        TitleFont.Height = -14
        TitleFont.Name = #23435#20307
        TitleFont.Style = []
        Columns = <
          item
            Expanded = False
            FieldName = 'roomtype'
            Title.Caption = #25151#38388#31867#22411
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Color = clBlack
            Title.Font.Height = -14
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 148
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'roomprice'
            Title.Caption = #25151#38388#20215#26684
            Title.Font.Charset = ANSI_CHARSET
            Title.Font.Color = clBlack
            Title.Font.Height = -14
            Title.Font.Name = #23435#20307
            Title.Font.Style = []
            Width = 126
            Visible = True
          end>
      end
    end
    object tab_supprice: TTabSheet
      Caption = #39184#39278#20215#26684#35774#23450
      ImageIndex = 1
      OnShow = tab_suppriceShow
      object DBGrid2: TDBGrid
        Left = 8
        Top = 5
        Width = 465
        Height = 241
        DataSource = DataSourcesup
        ReadOnly = True
        TabOrder = 0
        TitleFont.Charset = ANSI_CHARSET
        TitleFont.Color = clBlack
        TitleFont.Height = -14
        TitleFont.Name = #23435#20307
        TitleFont.Style = []
        OnCellClick = DBGrid2CellClick
        Columns = <
          item
            Expanded = False
            FieldName = 'supno'
            Title.Caption = #37202#33756#32534#21495
            Width = 82
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'supname'
            Title.Caption = #37202#33756#21517#31216
            Width = 123
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'supclass'
            Title.Caption = #37202#33756#31867#22411
            Width = 109
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'supprice'
            Title.Caption = #20215#26684
            Width = 82
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'supunit'
            Title.Caption = #21333#20301
            Width = 65
            Visible = True
          end>
      end
    end
  end
  object Panel1: TPanel
    Left = 0
    Top = 298
    Width = 546
    Height = 84
    Align = alBottom
    BorderStyle = bsSingle
    TabOrder = 1
    object but_add: TButton
      Left = 58
      Top = 30
      Width = 75
      Height = 25
      Caption = #28155#21152
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      TabOrder = 0
      OnClick = but_addClick
    end
    object but_modify: TButton
      Left = 170
      Top = 30
      Width = 75
      Height = 25
      Caption = #20462#25913
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      TabOrder = 1
      OnClick = but_modifyClick
    end
    object but_delete: TButton
      Left = 282
      Top = 30
      Width = 75
      Height = 25
      Caption = #21024#38500
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      TabOrder = 2
      OnClick = but_deleteClick
    end
    object but_exit: TButton
      Left = 394
      Top = 30
      Width = 75
      Height = 25
      Caption = #36864#20986
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      TabOrder = 3
      OnClick = but_exitClick
    end
  end
  object DataSourceroom: TDataSource
    DataSet = DMHotel.ds_room_price_set
    Left = 296
    Top = 65528
  end
  object DataSourcesup: TDataSource
    DataSet = DMHotel.ds_sup_price_set
    Left = 336
    Top = 65528
  end
end

⌨️ 快捷键说明

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