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

📄 manager.~dfm

📁 结于初学者来说这对数据库是一个很好的例子
💻 ~DFM
字号:
object Form23: TForm23
  Left = 254
  Top = 136
  Width = 696
  Height = 480
  BorderIcons = [biSystemMenu]
  Caption = #25805#20316#20154#21592#31649#29702
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = #23435#20307
  Font.Style = []
  OldCreateOrder = False
  Position = poDesktopCenter
  Scaled = False
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 12
  object Label1: TLabel
    Left = 272
    Top = 8
    Width = 120
    Height = 19
    AutoSize = False
    Caption = #25805#20316#20154#21592#31649#29702
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -19
    Font.Name = #23435#20307
    Font.Style = [fsBold]
    ParentFont = False
  end
  object Label7: TLabel
    Left = 40
    Top = 432
    Width = 433
    Height = 13
    AutoSize = False
    Caption = '**'#26435#38480#35828#26126' 0'#65306#25910#36153'  1'#65306#25910#36153#12289#31649#29702#24211#23384' 2'#65306#25910#36153#12289#31649#29702#24211#23384#12289#31995#32479#35774#32622
  end
  object GroupBox1: TGroupBox
    Left = 8
    Top = 32
    Width = 673
    Height = 225
    Caption = #25805#20316#20154#21592#21015#34920
    TabOrder = 0
    object Label2: TLabel
      Left = 64
      Top = 204
      Width = 24
      Height = 12
      Caption = #39318#26465
    end
    object Label3: TLabel
      Left = 192
      Top = 204
      Width = 24
      Height = 12
      Caption = #26411#26465
    end
    object Label4: TLabel
      Left = 328
      Top = 204
      Width = 24
      Height = 12
      Caption = #21024#38500
    end
    object Label5: TLabel
      Left = 456
      Top = 204
      Width = 24
      Height = 12
      Caption = #30830#23450
    end
    object Label6: TLabel
      Left = 584
      Top = 204
      Width = 24
      Height = 12
      Caption = #21462#28040
    end
    object DBGrid1: TDBGrid
      Left = 8
      Top = 16
      Width = 657
      Height = 153
      DataSource = DataSource1
      ImeName = #20013#25991' ('#31616#20307') - '#26234#33021' ABC'
      Options = [dgEditing, dgTitles, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
      TabOrder = 0
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -12
      TitleFont.Name = #23435#20307
      TitleFont.Style = []
      Columns = <
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'ID'
          ReadOnly = True
          Title.Alignment = taCenter
          Title.Caption = #32534#21495
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'Name'
          Title.Alignment = taCenter
          Title.Caption = #22995#21517
          Width = 69
          Visible = True
        end
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'Sex'
          Title.Alignment = taCenter
          Title.Caption = #24615#21035
          Width = 48
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'Address'
          Title.Alignment = taCenter
          Title.Caption = #20303#22336
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'InTime'
          Title.Alignment = taCenter
          Title.Caption = #20837#24215#26102#38388
          Width = 106
          Visible = True
        end
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'ManagerRight'
          Title.Alignment = taCenter
          Title.Caption = #26435#38480
          Visible = True
        end>
    end
    object DBNavigator1: TDBNavigator
      Left = 8
      Top = 176
      Width = 655
      Height = 25
      DataSource = DataSource1
      VisibleButtons = [nbFirst, nbLast, nbDelete, nbPost, nbCancel]
      TabOrder = 1
    end
  end
  object GroupBox2: TGroupBox
    Left = 8
    Top = 264
    Width = 673
    Height = 161
    Caption = #26032#22686#25805#20316#20154#21592
    TabOrder = 1
    object Label8: TLabel
      Left = 48
      Top = 32
      Width = 36
      Height = 13
      AutoSize = False
      Caption = #32534#21495#65306
    end
    object Label9: TLabel
      Left = 232
      Top = 32
      Width = 36
      Height = 13
      AutoSize = False
      Caption = #22995#21517#65306
    end
    object Label10: TLabel
      Left = 424
      Top = 32
      Width = 36
      Height = 13
      AutoSize = False
      Caption = #24615#21035#65306
    end
    object Label11: TLabel
      Left = 48
      Top = 64
      Width = 36
      Height = 13
      AutoSize = False
      Caption = #20303#22336#65306
    end
    object Label12: TLabel
      Left = 48
      Top = 96
      Width = 36
      Height = 13
      AutoSize = False
      Caption = #26102#38388#65306
    end
    object Label13: TLabel
      Left = 232
      Top = 96
      Width = 36
      Height = 13
      AutoSize = False
      Caption = #26435#38480#65306
    end
    object Label14: TLabel
      Left = 424
      Top = 96
      Width = 36
      Height = 13
      AutoSize = False
      Caption = #21475#20196#65306
    end
    object ID: TEdit
      Left = 80
      Top = 24
      Width = 121
      Height = 20
      ImeName = #20013#25991' ('#31616#20307') - '#26234#33021' ABC'
      TabOrder = 0
      OnExit = IDExit
      OnKeyPress = IDKeyPress
    end
    object Name: TEdit
      Left = 264
      Top = 24
      Width = 121
      Height = 20
      ImeName = #20013#25991' ('#31616#20307') - '#26234#33021' ABC'
      TabOrder = 1
      OnKeyPress = NameKeyPress
    end
    object sex: TComboBox
      Left = 456
      Top = 24
      Width = 129
      Height = 20
      Style = csDropDownList
      ImeName = #20013#25991' ('#31616#20307') - '#26234#33021' ABC'
      ItemHeight = 12
      TabOrder = 2
      OnKeyPress = sexKeyPress
      Items.Strings = (
        #30007
        #22899)
    end
    object address: TEdit
      Left = 80
      Top = 56
      Width = 305
      Height = 20
      ImeName = #20013#25991' ('#31616#20307') - '#26234#33021' ABC'
      TabOrder = 3
      OnKeyPress = addressKeyPress
    end
    object Intime: TMaskEdit
      Left = 80
      Top = 88
      Width = 121
      Height = 20
      ImeName = #20013#25991' ('#31616#20307') - '#26234#33021' ABC'
      TabOrder = 4
      OnKeyPress = IntimeKeyPress
    end
    object ManagerRight: TComboBox
      Left = 264
      Top = 88
      Width = 121
      Height = 20
      Style = csDropDownList
      ImeName = #20013#25991' ('#31616#20307') - '#26234#33021' ABC'
      ItemHeight = 12
      TabOrder = 5
      OnKeyPress = ManagerRightKeyPress
      Items.Strings = (
        '0'
        '1'
        '2')
    end
    object Button1: TButton
      Left = 224
      Top = 128
      Width = 75
      Height = 25
      Caption = #30830'  '#23450
      TabOrder = 6
      OnClick = Button1Click
    end
    object Button2: TButton
      Left = 352
      Top = 128
      Width = 75
      Height = 25
      Caption = #36820'  '#22238
      TabOrder = 7
      OnClick = Button2Click
    end
    object Passw: TMaskEdit
      Left = 456
      Top = 88
      Width = 121
      Height = 20
      PasswordChar = '*'
      TabOrder = 8
    end
  end
  object Q_manager: TQuery
    Active = True
    DatabaseName = 'Hotel'
    RequestLive = True
    SQL.Strings = (
      'select * from Manager order by ID')
    Left = 144
  end
  object DataSource1: TDataSource
    DataSet = Q_manager
    Left = 184
  end
  object Q_repeat: TQuery
    DatabaseName = 'Hotel'
    Left = 24
    Top = 296
  end
end

⌨️ 快捷键说明

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