📄 unit9.dfm
字号:
object Form9: TForm9
Left = 216
Top = 167
Width = 696
Height = 480
Caption = #22270#20070#20511#38405#32479#35745
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 Label1: TLabel
Left = 120
Top = 400
Width = 72
Height = 16
Caption = #22270#20070#31867#22411': '
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label2: TLabel
Left = 200
Top = 400
Width = 3
Height = 16
Font.Charset = DEFAULT_CHARSET
Font.Color = clRed
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label3: TLabel
Left = 320
Top = 400
Width = 75
Height = 16
Caption = #22806#20511#20876#25968': '
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label4: TLabel
Left = 408
Top = 400
Width = 3
Height = 16
Font.Charset = DEFAULT_CHARSET
Font.Color = clRed
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Panel1: TPanel
Left = 240
Top = 16
Width = 185
Height = 41
Caption = #22270#20070#20511#38405#32479#35745
Font.Charset = DEFAULT_CHARSET
Font.Color = clRed
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
TabOrder = 0
end
object Panel2: TPanel
Left = 16
Top = 72
Width = 657
Height = 81
TabOrder = 1
object CheckBox1: TCheckBox
Left = 176
Top = 16
Width = 97
Height = 17
Caption = #22270#20070#31867#21035#32479#35745
TabOrder = 0
end
object ComboBox1: TComboBox
Left = 296
Top = 16
Width = 145
Height = 21
ItemHeight = 13
TabOrder = 1
OnChange = ComboBox1Change
end
object Button1: TButton
Left = 176
Top = 48
Width = 97
Height = 25
Caption = #25945#24072#20511#38405#32479#35745
TabOrder = 2
OnClick = Button1Click
end
object Button2: TButton
Left = 344
Top = 48
Width = 97
Height = 25
Caption = #23398#29983#20511#38405#32479#35745
TabOrder = 3
OnClick = Button2Click
end
end
object DBGrid1: TDBGrid
Left = 16
Top = 160
Width = 657
Height = 217
DataSource = DataSource1
TabOrder = 2
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
Columns = <
item
Expanded = False
FieldName = #26631#35782#21015
Title.Alignment = taCenter
Title.Caption = #20511#20070#20449#24687#32534#21495
Width = 80
Visible = True
end
item
Expanded = False
FieldName = 'bookno'
Title.Alignment = taCenter
Title.Caption = #22270#20070#26465#24418#30721
Width = 80
Visible = True
end
item
Expanded = False
FieldName = 'bookname'
Title.Alignment = taCenter
Title.Caption = #20070#21517
Width = 160
Visible = True
end
item
Expanded = False
FieldName = 'borrowbook_id'
Title.Alignment = taCenter
Title.Caption = #20511#20070#35777#21495
Width = 80
Visible = True
end
item
Expanded = False
FieldName = 'TN'
Title.Alignment = taCenter
Title.Caption = #20511#38405#32773
Width = 80
Visible = True
end
item
Expanded = False
FieldName = 'borrowtime'
Title.Alignment = taCenter
Title.Caption = #20511#38405#26085#26399
Width = 80
Visible = True
end
item
Expanded = False
FieldName = 'returntime'
Title.Alignment = taCenter
Title.Caption = #24402#36824#26085#26399
Width = 80
Visible = True
end>
end
object Button3: TButton
Left = 512
Top = 400
Width = 97
Height = 25
Caption = #36820#22238#31995#32479' '
Font.Charset = DEFAULT_CHARSET
Font.Color = clOlive
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
TabOrder = 3
OnClick = Button3Click
end
object DBGrid2: TDBGrid
Left = 16
Top = 160
Width = 657
Height = 217
DataSource = DataSource2
TabOrder = 4
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
Columns = <
item
Expanded = False
FieldName = #26631#35782#21015
Title.Alignment = taCenter
Title.Caption = #20511#20070#20449#24687#32534#21495
Width = 80
Visible = True
end
item
Expanded = False
FieldName = 'bookno'
Title.Alignment = taCenter
Title.Caption = #22270#20070#26465#24418#30721
Width = 80
Visible = True
end
item
Expanded = False
FieldName = 'bookname'
Title.Alignment = taCenter
Title.Caption = #20070#21517
Width = 161
Visible = True
end
item
Expanded = False
FieldName = 'borrowbook_id'
Title.Alignment = taCenter
Title.Caption = #20511#20070#35777#21495
Width = 80
Visible = True
end
item
Expanded = False
FieldName = 'SN'
Title.Alignment = taCenter
Title.Caption = #20511#38405#32773
Width = 80
Visible = True
end
item
Expanded = False
FieldName = 'borrowtime'
Title.Alignment = taCenter
Title.Caption = #20511#38405#26085#26399
Width = 80
Visible = True
end
item
Expanded = False
FieldName = 'returntime'
Title.Alignment = taCenter
Title.Caption = #24402#36824#26085#26399
Width = 80
Visible = True
end>
end
object ADOConnection1: TADOConnection
Connected = True
ConnectionString =
'Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security In' +
'fo=False;Initial Catalog=Library;Data Source=.'
LoginPrompt = False
Provider = 'SQLOLEDB.1'
Left = 56
Top = 16
end
object ADOQuery1: TADOQuery
Connection = ADOConnection1
Parameters = <>
Left = 120
Top = 16
end
object ADOQuery2: TADOQuery
Connection = ADOConnection1
Parameters = <>
Left = 480
Top = 16
end
object DataSource1: TDataSource
DataSet = ADOQuery1
Left = 552
Top = 16
end
object ADOQuery3: TADOQuery
Connection = ADOConnection1
Parameters = <>
Left = 592
Top = 16
end
object DataSource2: TDataSource
DataSet = ADOQuery3
Left = 624
Top = 32
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -