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

📄 defvacedit.dfm

📁 是我编写的一个考勤机管理系统,用于计算某员工某段时间以来的迟到与早退等情况.
💻 DFM
字号:
object frmDefVacEdit: TfrmDefVacEdit
  Left = 306
  Top = 209
  Width = 580
  Height = 395
  Caption = #40664#35748#20241#20551#32534#36753
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object ToolBar1: TToolBar
    Left = 0
    Top = 0
    Width = 572
    Height = 21
    AutoSize = True
    ButtonHeight = 19
    ButtonWidth = 48
    Caption = 'ToolBar1'
    Flat = True
    List = True
    ShowCaptions = True
    TabOrder = 0
    object BtnPrior: TToolButton
      Left = 0
      Top = 0
      AllowAllUp = True
      AutoSize = True
      Caption = #19978#19968#26465
      ImageIndex = 4
      OnClick = BtnPriorClick
    end
    object BtnNext: TToolButton
      Left = 52
      Top = 0
      AllowAllUp = True
      AutoSize = True
      Caption = #19979#19968#26465
      ImageIndex = 5
      OnClick = BtnNextClick
    end
    object ToolButton7: TToolButton
      Left = 104
      Top = 0
      Width = 12
      AllowAllUp = True
      AutoSize = True
      Caption = 'ToolButton7'
      ImageIndex = 4
      Style = tbsSeparator
    end
    object BtnAdd: TToolButton
      Left = 116
      Top = 0
      AllowAllUp = True
      AutoSize = True
      Caption = #26032#22686
      ImageIndex = 0
      OnClick = BtnAddClick
    end
    object BtnEdit: TToolButton
      Left = 156
      Top = 0
      AllowAllUp = True
      AutoSize = True
      Caption = #20462#25913
      ImageIndex = 1
      OnClick = BtnEditClick
    end
    object BtnSave: TToolButton
      Left = 196
      Top = 0
      AllowAllUp = True
      AutoSize = True
      Caption = #20445#23384
      ImageIndex = 2
      OnClick = BtnSaveClick
    end
    object ToolButton8: TToolButton
      Left = 236
      Top = 0
      Width = 12
      AllowAllUp = True
      AutoSize = True
      Caption = 'ToolButton8'
      ImageIndex = 4
      Style = tbsSeparator
    end
    object BtnExit: TToolButton
      Left = 248
      Top = 0
      AllowAllUp = True
      AutoSize = True
      Caption = #21462#28040
      ImageIndex = 3
      OnClick = BtnExitClick
    end
  end
  object Panel1: TPanel
    Left = 0
    Top = 21
    Width = 572
    Height = 347
    Align = alClient
    BevelInner = bvRaised
    BevelOuter = bvLowered
    TabOrder = 1
    object Panel2: TPanel
      Left = 2
      Top = 2
      Width = 568
      Height = 36
      Align = alTop
      BevelOuter = bvNone
      TabOrder = 0
      object Label1: TLabel
        Left = 2
        Top = 16
        Width = 84
        Height = 13
        Alignment = taCenter
        Caption = #40664#35748#20241#20551#21517#31216#65306
      end
      object EdtName: TEdit
        Left = 90
        Top = 12
        Width = 121
        Height = 21
        TabOrder = 0
        Text = 'EdtName'
        OnChange = EdtNameChange
      end
    end
    object GroupBox1: TGroupBox
      Left = 2
      Top = 271
      Width = 568
      Height = 74
      Align = alBottom
      Caption = #22791#27880' '#65306
      TabOrder = 1
      object Memo: TMemo
        Left = 2
        Top = 15
        Width = 564
        Height = 57
        Align = alClient
        Lines.Strings = (
          'Memo')
        TabOrder = 0
        OnChange = EdtNameChange
      end
    end
    object CmbTimeMode: TComboBox
      Left = 176
      Top = 112
      Width = 129
      Height = 21
      ItemHeight = 13
      TabOrder = 2
      Text = 'CmbTimeMode'
      Visible = False
      Items.Strings = (
        #27599#22825
        #27599#21608
        #27599#26376)
    end
    object DtpDate: TDateTimePicker
      Left = 176
      Top = 136
      Width = 129
      Height = 21
      CalAlignment = dtaLeft
      Date = 38940.3904190162
      Time = 38940.3904190162
      DateFormat = dfShort
      DateMode = dmComboBox
      Kind = dtkDate
      ParseInput = False
      TabOrder = 3
      Visible = False
    end
    object GrdTxt: TEdit
      Left = 176
      Top = 160
      Width = 129
      Height = 21
      BevelOuter = bvNone
      TabOrder = 4
      Visible = False
    end
    object Grid: TDBGridEh
      Left = 2
      Top = 38
      Width = 568
      Height = 233
      Align = alClient
      DataSource = DSGrid
      FooterColor = clWindow
      FooterFont.Charset = DEFAULT_CHARSET
      FooterFont.Color = clWindowText
      FooterFont.Height = -11
      FooterFont.Name = 'MS Sans Serif'
      FooterFont.Style = []
      Options = [dgEditing, dgTitles, dgIndicator, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
      TabOrder = 5
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'MS Sans Serif'
      TitleFont.Style = []
      OnCellClick = GridCellClick
      OnKeyPress = GridKeyPress
      Columns = <
        item
          EditButtons = <>
          FieldName = 'BeginDate'
          Footers = <>
          Title.Alignment = taCenter
          Title.Caption = #24320#22987#26085#26399
          Width = 100
          OnNotInList = GridColumns0NotInList
          OnUpdateData = GridColumns0UpdateData
        end
        item
          EditButtons = <>
          FieldName = 'EndDate'
          Footers = <>
          Title.Alignment = taCenter
          Title.Caption = #32467#26463#26085#26399
          Width = 100
          OnNotInList = GridColumns0NotInList
          OnUpdateData = GridColumns0UpdateData
        end
        item
          EditButtons = <>
          FieldName = 'TimeMode'
          Footers = <>
          Title.Alignment = taCenter
          Title.Caption = #26102#38388#27169#24335
          Width = 100
          OnNotInList = GridColumns0NotInList
          OnUpdateData = GridColumns2UpdateData
        end
        item
          EditButtons = <>
          FieldName = 'BeginTime'
          Footers = <>
          Title.Alignment = taCenter
          Title.Caption = #24320#22987#26102#38388
          Width = 100
          OnNotInList = GridColumns0NotInList
          OnUpdateData = GridColumns0UpdateData
        end
        item
          EditButtons = <>
          FieldName = 'EndTime'
          Footers = <>
          Title.Alignment = taCenter
          Title.Caption = #32467#26463#26102#38388
          Width = 100
          OnNotInList = GridColumns0NotInList
          OnUpdateData = GridColumns0UpdateData
        end
        item
          EditButtons = <>
          FieldName = 'TimePos'
          Footers = <>
          Title.Alignment = taCenter
          Title.Caption = #26102#38388#27573
          Width = 100
          OnNotInList = GridColumns0NotInList
          OnUpdateData = GridColumns0UpdateData
        end>
    end
  end
  object QurGrid: TADOQuery
    Active = True
    Connection = frmDM.Con
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    Parameters = <>
    SQL.Strings = (
      'select * from DefVac_d')
    Left = 56
    Top = 88
  end
  object QurFree: TADOQuery
    Connection = frmDM.Con
    Parameters = <>
    Left = 88
    Top = 88
  end
  object DSGrid: TDataSource
    DataSet = QurGrid
    Left = 24
    Top = 88
  end
  object mnuClassEdit: TPopupMenu
    Left = 120
    Top = 88
    object N2: TMenuItem
      Caption = #28155#21152#19968#34892
      OnClick = N2Click
    end
    object N1: TMenuItem
      Caption = #21024#38500#24403#34892
      OnClick = N1Click
    end
  end
end

⌨️ 快捷键说明

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