📄 unit2.dfm
字号:
object MainForm: TMainForm
Left = 325
Top = 268
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsSingle
Caption = #36873#35838#31995#32479'--'#36873#35838
ClientHeight = 446
ClientWidth = 688
Color = clBtnFace
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = #23435#20307
Font.Style = []
OldCreateOrder = False
OnClose = FormClose
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 12
object Panel1: TPanel
Left = 0
Top = 0
Width = 688
Height = 49
Align = alTop
TabOrder = 0
object DBText1: TDBText
Left = 80
Top = 16
Width = 49
Height = 17
DataField = 'sname'
Font.Charset = GB2312_CHARSET
Font.Color = clRed
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object Label1: TLabel
Left = 40
Top = 16
Width = 35
Height = 14
Caption = #22995#21517':'
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object Label2: TLabel
Left = 192
Top = 16
Width = 35
Height = 14
Caption = #24180#40836':'
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object DBText2: TDBText
Left = 232
Top = 16
Width = 49
Height = 17
DataField = 'sage'
Font.Charset = GB2312_CHARSET
Font.Color = clRed
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object Label3: TLabel
Left = 352
Top = 16
Width = 35
Height = 14
Caption = #23398#21495':'
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object DBText3: TDBText
Left = 392
Top = 16
Width = 65
Height = 17
DataField = 'sno'
Font.Charset = GB2312_CHARSET
Font.Color = clRed
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object Label5: TLabel
Left = 512
Top = 16
Width = 35
Height = 14
Caption = #31995#21035':'
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object DBText4: TDBText
Left = 552
Top = 16
Width = 113
Height = 17
DataField = 'dept'
Font.Charset = GB2312_CHARSET
Font.Color = clRed
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
end
object Panel2: TPanel
Left = 0
Top = 336
Width = 688
Height = 110
Align = alBottom
TabOrder = 1
object Label4: TLabel
Left = 24
Top = 19
Width = 35
Height = 14
Caption = #35838#21495':'
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object Label6: TLabel
Left = 368
Top = 19
Width = 35
Height = 14
Caption = #35838#21495':'
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object Button1: TButton
Left = 216
Top = 13
Width = 75
Height = 25
Caption = #35838#31243#26597#35810
TabOrder = 1
OnClick = Button1Click
end
object SearchEdit: TEdit
Left = 64
Top = 15
Width = 137
Height = 20
ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899
TabOrder = 0
OnKeyDown = SearchEditKeyDown
end
object Button2: TButton
Left = 288
Top = 64
Width = 75
Height = 25
Caption = #35838#31243#24635#34920
TabOrder = 4
OnClick = Button2Click
end
object delEdit: TEdit
Left = 408
Top = 15
Width = 137
Height = 20
ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899
TabOrder = 2
OnKeyDown = delEditKeyDown
end
object Button3: TButton
Left = 568
Top = 13
Width = 75
Height = 25
Caption = #35838#31243#21024#38500
TabOrder = 3
OnClick = Button3Click
end
object Button4: TButton
Left = 408
Top = 56
Width = 81
Height = 33
Caption = #36820#22238
TabOrder = 5
end
end
object Panel3: TPanel
Left = 0
Top = 49
Width = 688
Height = 287
Align = alClient
TabOrder = 2
object DBGrid1: TDBGrid
Left = 1
Top = 1
Width = 686
Height = 285
Align = alClient
DataSource = DataSource1
ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899
Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
ReadOnly = True
TabOrder = 0
TitleFont.Charset = GB2312_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -12
TitleFont.Name = #23435#20307
TitleFont.Style = []
OnDblClick = DBGrid1DblClick
Columns = <
item
Alignment = taCenter
Expanded = False
FieldName = 'cno'
Title.Alignment = taCenter
Title.Caption = #35838#21495
Width = 163
Visible = True
end
item
Alignment = taCenter
Expanded = False
FieldName = 'cname'
Title.Alignment = taCenter
Title.Caption = #35838#31243#21517#31216
Width = 264
Visible = True
end
item
Alignment = taCenter
Expanded = False
FieldName = 'kind'
Title.Alignment = taCenter
Title.Caption = #35838#31243#24615#36136
Width = 82
Visible = True
end
item
Alignment = taCenter
Expanded = False
FieldName = 'grade'
Title.Alignment = taCenter
Title.Caption = #25104#32489
Width = 70
Visible = True
end
item
Alignment = taCenter
Expanded = False
FieldName = 'credit'
Title.Alignment = taCenter
Title.Caption = #22522#28857#20998
Width = 68
Visible = True
end>
end
end
object ADOQuery1: TADOQuery
Active = True
ConnectionString =
'Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security In' +
'fo=False;Initial Catalog=xsxk;Data Source=GAOPAN\G'
CursorType = ctStatic
DataSource = CouseListForm.DataSource1
Parameters = <>
SQL.Strings = (
'select * from course')
Left = 200
Top = 136
end
object ADOQuery2: TADOQuery
ConnectionString =
'Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security In' +
'fo=False;Initial Catalog=xsxk;Data Source=GAOPAN\G'
CursorType = ctStatic
DataSource = DataSource1
Parameters = <>
SQL.Strings = (
'select * from sc')
Left = 528
Top = 392
end
object DataSource1: TDataSource
DataSet = ADOQuery1
Left = 104
Top = 136
end
object ADOTable1: TADOTable
ConnectionString =
'Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security In' +
'fo=False;Initial Catalog=xsxk;Data Source=A16'
CursorType = ctStatic
MasterSource = DataSource1
TableName = 'course'
Left = 128
Top = 24
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -