五、Delphi 2009 泛型容器单元(Generics.Collections): TDictionary<T>
2009-11-03 11:41
525 查看
TDictionary 类似哈希表.
dfm
object Form1: TForm1
Left = 0
Top = 0
Caption = 'Form1'
ClientHeight = 165
ClientWidth = 275
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
Position = poDesktopCenter
OnCreate = FormCreate
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 13
object Memo1: TMemo
Left = 0
Top = 0
Width = 133
Height = 165
Align = alLeft
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
Lines.Strings = (
'Memo1')
ParentFont = False
ScrollBars = ssBoth
TabOrder = 0
ExplicitHeight = 176
end
object Button1: TButton
Left = 139
Top = 40
Width = 128
Height = 25
Caption = 'Button1'
TabOrder = 1
OnClick = Button1Click
end
object Button2: TButton
Left = 139
Top = 71
Width = 128
Height = 25
Caption = 'Button2'
TabOrder = 2
OnClick = Button2Click
end
object Button3: TButton
Left = 139
Top = 102
Width = 128
Height = 25
Caption = 'Button3'
TabOrder = 3
OnClick = Button3Click
end
object Edit1: TEdit
Left = 139
Top = 8
Width = 40
Height = 21
TabOrder = 4
Text = 'Edit1'
end
object Edit2: TEdit
Left = 185
Top = 8
Width = 81
Height = 21
TabOrder = 5
Text = 'Edit2'
end
object Button4: TButton
Left = 139
Top = 133
Width = 128
Height = 25
Caption = 'Button4'
TabOrder = 6
OnClick = Button4Click
end
end
dfm
object Form1: TForm1
Left = 0
Top = 0
Caption = 'Form1'
ClientHeight = 165
ClientWidth = 275
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
Position = poDesktopCenter
OnCreate = FormCreate
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 13
object Memo1: TMemo
Left = 0
Top = 0
Width = 133
Height = 165
Align = alLeft
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
Lines.Strings = (
'Memo1')
ParentFont = False
ScrollBars = ssBoth
TabOrder = 0
ExplicitHeight = 176
end
object Button1: TButton
Left = 139
Top = 40
Width = 128
Height = 25
Caption = 'Button1'
TabOrder = 1
OnClick = Button1Click
end
object Button2: TButton
Left = 139
Top = 71
Width = 128
Height = 25
Caption = 'Button2'
TabOrder = 2
OnClick = Button2Click
end
object Button3: TButton
Left = 139
Top = 102
Width = 128
Height = 25
Caption = 'Button3'
TabOrder = 3
OnClick = Button3Click
end
object Edit1: TEdit
Left = 139
Top = 8
Width = 40
Height = 21
TabOrder = 4
Text = 'Edit1'
end
object Edit2: TEdit
Left = 185
Top = 8
Width = 81
Height = 21
TabOrder = 5
Text = 'Edit2'
end
object Button4: TButton
Left = 139
Top = 133
Width = 128
Height = 25
Caption = 'Button4'
TabOrder = 6
OnClick = Button4Click
end
end
相关文章推荐
- Delphi 2009 泛型容器单元(Generics.Collections)[4]: TDictionary<T>
- Delphi 2009 泛型容器单元(Generics.Collections)[4]: TDictionary<T>
- Delphi 2009 泛型容器单元(Generics.Collections)[3]: TStack<T>
- 三、Delphi 2009 泛型容器单元(Generics.Collections)[2]: TQueue<T>
- 四、Delphi 2009 泛型容器单元(Generics.Collections)[3]: TStack<T>
- Delphi 2009 泛型容器单元(Generics.Collections)[5]: TObject...<T> 系列
- 六、Delphi 2009 泛型容器单元(Generics.Collections)[5]: TObject...<T> 系列
- Delphi 2009 泛型容器单元(Generics.Collections)[1]: TList<T>
- Delphi 2009 泛型容器单元(Generics.Collections)[1]: TList<T>
- Delphi 2009 泛型容器单元(Generics.Collections)[2]: TQueue<T>
- 二、Delphi 2009 泛型容器单元(Generics.Collections)[1]: TList<T>
- 泛型容器单元(Generics.Collections)[2]: TQueue<T> 队列列表
- 泛型容器单元(Generics.Collections)[3]: TStack<T> 堆栈列表
- Delphi 2009 泛型容器单元(Generics.Collections)[2]: TQueue
- [导入]Delphi 2009 泛型容器单元(Generics.Collections)[1]: TList
- C#基础-059 泛型集合List<>与字典Dictionary<,>
- 泛型(Generics Types)学习笔记<一>
- 淺談怎么样运用Delphi 2009地泛型容器類別
- 1.C#泛型-泛型集合Dictionary<Key,Value>
- Dictionary&lt;string, string&gt;是一个泛型使用说明