📄 depts.dfm
字号:
object dept: Tdept
Left = 187
Top = 103
BorderIcons = [biSystemMenu]
BorderStyle = bsSingle
Caption = '部门名称管理'
ClientHeight = 351
ClientWidth = 598
Color = clBtnFace
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = '宋体'
Font.Style = []
OldCreateOrder = False
Position = poMainFormCenter
OnPaint = FormPaint
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object Bevel1: TBevel
Left = 8
Top = 8
Width = 585
Height = 321
Shape = bsFrame
end
object Label1: TLabel
Left = 16
Top = 16
Width = 59
Height = 13
Caption = '部门名称:'
Transparent = True
end
object Label2: TLabel
Left = 264
Top = 16
Width = 33
Height = 13
Caption = '工种:'
Transparent = True
end
object DBGrid1: TDBGrid
Left = 264
Top = 32
Width = 321
Height = 289
DataSource = sl_data.DataSource1
Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
PopupMenu = PopupMenu1
ReadOnly = True
TabOrder = 0
TitleFont.Charset = GB2312_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -13
TitleFont.Name = '宋体'
TitleFont.Style = []
OnCellClick = DBGrid1CellClick
Columns = <
item
Expanded = False
FieldName = 'work_type'
PickList.Strings = (
'work_type=工种')
Title.Caption = '工种'
Visible = True
end>
end
object ListBox1: TListBox
Left = 16
Top = 32
Width = 161
Height = 289
ItemHeight = 13
PopupMenu = PopupMenu1
TabOrder = 1
OnClick = ListBox1Click
end
object StatusBar1: TStatusBar
Left = 0
Top = 332
Width = 598
Height = 19
Panels = <
item
Width = 150
end
item
Width = 50
end>
SimplePanel = False
end
object xpButton1: TxpButton
Left = 184
Top = 40
Width = 75
Height = 25
Caption = '增加部门'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
TabOrder = 3
TabStop = True
OnClick = xpButton1Click
end
object xpButton2: TxpButton
Left = 184
Top = 72
Width = 75
Height = 25
Caption = '修改部门'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
TabOrder = 4
TabStop = True
OnClick = xpButton2Click
end
object xpButton3: TxpButton
Left = 184
Top = 104
Width = 75
Height = 25
Caption = '删除部门'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
TabOrder = 5
TabStop = True
OnClick = xpButton3Click
end
object xpButton4: TxpButton
Left = 184
Top = 136
Width = 75
Height = 25
Caption = '复制部门'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
TabOrder = 6
TabStop = True
OnClick = xpButton4Click
end
object xpButton5: TxpButton
Left = 184
Top = 192
Width = 75
Height = 25
Caption = '增加工种'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
TabOrder = 7
TabStop = True
OnClick = xpButton5Click
end
object xpButton6: TxpButton
Left = 184
Top = 224
Width = 75
Height = 25
Caption = '修改工种'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
TabOrder = 8
TabStop = True
OnClick = xpButton6Click
end
object xpButton7: TxpButton
Left = 184
Top = 256
Width = 75
Height = 25
Caption = '删除工种'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
TabOrder = 9
TabStop = True
OnClick = xpButton7Click
end
object PopupMenu1: TPopupMenu
Left = 104
Top = 48
object N1: TMenuItem
Caption = '增加部门'
end
object N2: TMenuItem
Caption = '修改部门'
end
object N3: TMenuItem
Caption = '删除部门'
end
object N5: TMenuItem
Caption = '-'
end
object N4: TMenuItem
Caption = '复制部门'
end
object N6: TMenuItem
Caption = '-'
end
object N7: TMenuItem
Caption = '增加工种'
end
object N8: TMenuItem
Caption = '修改工种'
end
object N9: TMenuItem
Caption = '删除工种'
end
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -