📄 main.dfm
字号:
object Form1: TForm1
Left = 172
Top = 121
Width = 831
Height = 577
Caption = 'Form1'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object yearlb: TLabel
Left = 16
Top = 96
Width = 60
Height = 13
Caption = #35831#36873#25321#24180#20221
end
object stationlb: TLabel
Left = 16
Top = 48
Width = 60
Height = 13
Caption = #35831#36873#25321#31449#28857
end
object monthlb: TLabel
Left = 16
Top = 152
Width = 60
Height = 13
Caption = #35831#36873#25321#26376#20221
end
object stationcb: TComboBox
Left = 80
Top = 48
Width = 129
Height = 21
ItemHeight = 13
TabOrder = 0
Text = #21335#20140
Items.Strings = (
#21628#29595
#21338#31185#22270
#28023#25289#23572
#38463#23572#23665
#23273#27743
#40784#40784#21704#23572
#28023#20262
#23500#38182
#20339#26408#26031
#40481#35199
#21704#23572#28392
#29281#20025#27743
#20044#20848#28009#29305
#36890#36797
#38271#26149
#24310#21513
#36890#21270
#27784#38451
#26397#38451
#33829#21475
#20025#19996
#22823#36830
#26519#19996
#38177#26519#28009#29305
#26417#26085#21644
#22810#20262
#36196#23792
#25215#24503
#24352#23478#21475
#21628#21644#28009#29305
#21253#22836
#38485#22365
#21271#20140
#22825#27941
#30707#23478#24196
#24503#24030
#21009#21488
#23433#38451
#28895#21488
#38738#23707
#28493#22346
#27982#21335
#20020#27778
#33655#27901
#26032#28006
#28165#27743
#24464#24030
#34444#22496
#38428#38451
#37073#24030
#21335#38451
#20449#38451
#19996#21488
#21335#20140
#21512#32933
#19978#28023
#26477#24030
#23433#24198
#39272#28330
#20061#27743
#27721#21475
#38047#31077
#23731#38451
#23452#26124
#24120#24503
#23425#27874
#34914#21439
#28201#24030
#28006#22478
#31119#24030
#27704#23433
#36149#28330
#21335#26124
#24191#26124
#21513#23433
#36195#24030
#38271#27801
#34913#38451
#37108#24030
#38646#38517
#33463#27743
#21414#38376
#26757#21439
#27733#22836
#38902#20851
#27827#28304
#24191#24030
#38451#27743
#28251#27743
#28023#21475
#26690#26519
#26611#24030
#26791#24030
#21335#23425
#21271#28023
#30334#33394
#36981#20041
#36149#38451
#27605#33410
#20852#20161
#27029#27743
#24681#26045
#36798#21439
#37193#38451
#37325#24198
#21335#20805
#20869#27743
#32501#38451
#25104#37117
#23452#23486
#38597#23433
#24247#23450
#35199#26124
#20250#29702
#20029#27743
#22823#29702
#20445#23665
#26118#26126
#20020#27815
#33945#33258
#26223#27946
#29976#23388
#24503#38054
#26124#37117
#25289#33832
#35199#23433
#22825#27700
#23735#21439
#27721#20013
#23433#24247
#37095#21439
#38271#27835
#22826#21407
#20020#27774
#27014#26519
#24310#23433
#35199#23792#38215
#20848#24030
#20013#23425
#38134#24029
#35199#23425
#20020#22799
#29595#22810
#29577#26641
#27494#23041
#24352#25494
#37202#27849
#25958#29004
#21520#40065#30058
#24211#36710
#21888#20160
#21644#30000
#19988#26411
#33509#32652
#21704#23494
#38463#21202#27888
#22612#22478
#20044#33487
#20234#23425
#20044#40065#26408#40784)
end
object yearcb: TComboBox
Left = 80
Top = 96
Width = 129
Height = 21
ItemHeight = 13
TabOrder = 1
end
object monthcb: TComboBox
Left = 80
Top = 152
Width = 129
Height = 21
ItemHeight = 13
TabOrder = 2
Text = '1'
Items.Strings = (
'1'
'2'
'3'
'4'
'5'
'6'
'7'
'8'
'9'
'10'
'11'
'12')
end
object Button1: TButton
Left = 56
Top = 224
Width = 121
Height = 25
Caption = #35745#31639#24179#22343#20540
TabOrder = 3
OnClick = Button1Click
end
object Button2: TButton
Left = 456
Top = 8
Width = 233
Height = 25
Caption = #35745#31639'1951-2000'#24180#27599#26376#30340#24046#20540
TabOrder = 4
OnClick = Button2Click
end
object DBGrid1: TDBGrid
Left = 8
Top = 400
Width = 281
Height = 121
DataSource = DataSource1
TabOrder = 5
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
Columns = <
item
Expanded = False
FieldName = 'CYQID'
Title.Caption = #24207#21495
Width = 28
Visible = True
end
item
Expanded = False
FieldName = 'Station'
Title.Caption = #31449#28857
Width = 40
Visible = True
end
item
Expanded = False
FieldName = 'CYQYear'
Title.Caption = #24180#20221
Width = 30
Visible = True
end
item
Expanded = False
FieldName = 'CYQMonth'
Title.Caption = #26376#20221
Width = 28
Visible = True
end
item
Expanded = False
FieldName = 'rainfall'
Title.Caption = #38477#38632#37327
Width = 40
Visible = True
end
item
Expanded = False
FieldName = 'temperature'
Title.Caption = #28201#24230
Width = 40
Visible = True
end>
end
object DBGrid2: TDBGrid
Left = 16
Top = 264
Width = 209
Height = 121
DataSource = DataSource2
TabOrder = 6
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
Columns = <
item
Expanded = False
FieldName = #38477#38632#37327#24179#22343#20540
Visible = True
end
item
Expanded = False
FieldName = #28201#24230#24179#22343#20540
Visible = True
end>
end
object differenceDBGrid: TDBGrid
Left = 336
Top = 40
Width = 481
Height = 497
DataSource = differenceDataSource
TabOrder = 7
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
end
object Query1: TQuery
Active = True
DatabaseName = 'CYQ'
SQL.Strings = (
'SELECT *'
'from CYQ')
Left = 296
Top = 424
end
object DataSource1: TDataSource
DataSet = Query1
Left = 296
Top = 464
end
object searchQuery: TQuery
DatabaseName = 'CYQ'
SQL.Strings = (
'')
Left = 192
Top = 224
end
object DataSource2: TDataSource
DataSet = searchQuery
Left = 224
Top = 224
end
object differenceQuery: TQuery
DatabaseName = 'CYQ'
Left = 752
end
object differenceDataSource: TDataSource
DataSet = differenceQuery
Left = 784
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -