Symbols
 
#region directive 42
& character
     for access keys 17, 77
(Name) property 50
* character
     in version string 44
+ (plus sign)
     strings 228
.NET Framework xxxi
.resources files 404
.resx files 405
\n character 228
/addmodule switch 139
/doc switch 42
/main switch 11, 536
/out switch 139
/r switch 20
/reference switch 5
/target switch 138
<c> tag 675
<code> tag 675
<example> tag 675
<exception> tag 675
<include> tag 675
<list> tag 675
<para> tag 675
<param> tag 675
<paramref> tag 675
<permission> tag 675
<remarks> tag 675
<returns> tag 675
<see> tag 675
<seealso> tag 675
<summary> tag 57, 675
     adding in Visual Studio 90
<value> tag 675
? conditional operator 259
@ character
     identifiers 658
     strings 177
| operator 30
 
A
 
AbbreviatedDayNames property 371
AbbreviatedMonthNames property 371
Abort value 230
AboutBox form 628
abstract class 71
     comparison with interface 128
abstract keyword 24, 658
AcceptButton property 197
     example 248
     for dialog box 241
AcceptsReturn property 288
     example (TextBox) 283
AcceptsTab property 282
AcceptsTabChanged event 282
access keys 17, 77, 281
access methods 143
accessibility level 642
accessors 645
Action property 504
Action-Result tables
     description of xxv
Activate method 197
ActivateControl method 197
Activated event 556
activation
     in ListView 474
Activation property 444
Active property 431
ActiveControl property 196
ActiveForm property 197
ActiveMdiChild property
     example 549
ActiveX Control Importer tool 631
ActiveX controls
     hosting 627
Add method
     in ArrayList class 131
     in Forms.Collection class 18
     in IList interface 129
Add value 538
AddAnnuallyBoldedDate method 374
AddExtension property 24
AddMessageFilter method 12
AddNew method 584
     in BindingManagerBase class 597
AddRange method 131
     example (for Controls) 53
AfterExpand event 489
AfterLabelEdit event
     in ListView class 444, 470
     in TreeView class 489
alias, with using keyword 15
Alignment property
     example (DataGridText-BoxColumn) 581
     example (TabControl) 366
     in DataGridColumnStyle class 579
     in StatusBarPanel class 116
     in TabControl class 357, 363, 367
AlignmentChanged event 579
AllowColumnReorder property 465
AllowDrop property 104, 621
     example (Panel) 625
AllowedEffect property 625
AllowNavigation property 569
AllowSorting property
     in DataGridTableStyle class 576
AllowSortingChanged event 576
Alt property 387
Alt value 387
AlternatingBackColor property
     example 577
     in DataGrid class 569
     in DataGridTableStyle class 576
AMDesignator property 371
ampersand character 17
Anchor property 29, 104
     example (Button) 266
     example (GroupBox) 318
     example (TabControl) 366
     example (within TabPage) 591
     in Panel class 215
     relationship to Dock 31
     values 30
Anchor property. See also Dock property 30
anchored menu 70
AnchorStyles enumeration 30, 63
     values 30
AnnuallyBoldedDates property 374
App.ico file 409
Appearance property
     in CheckBox class 305
     in RadioButton class 300
     in TabControl class 357, 363
     in ToolBar class 413
AppearanceChanged event 300
AppendText method 282
Application class 12
     members 12
     ProductVersion property 45
     Run method 11
application data
     global 12
     user 12
ApplicationData value 177
ApplicationExit event 12
applications 640
AppWorkspace color 533
ArrangeIcons value 560
Array class 130?131, 672
ArrayList class 130?131
     members 131
arrays 672
as keyword 304, 658
ascending order 460
Ascending value 461
aspect ratio 28
assemblies 5, 640
     attributes 44
     version conventions 44
AssemblyCompanyAttribute class 44
AssemblyCopyrightAttribute class 44
AssemblyDescriptionAttribute class 44
AssemblyInfo.cs file 43
AssemblyProductAttribute class 44
AssemblyTitleAttribute class 44
AssemblyVersionAttribute class 44
asterisk (*)
     in version string 44
Attribute class 43
attributes 43, 670
     in AssemblyInfo.cs 44
AutoCheck property
     in CheckBox class 305
     in RadioButton class 300
AutomaticDelay property 431
AutoPopDelay property 431
AutoScroll property 196, 213
     example 214
AutoScrollMargin property 196
AutoScrollMinSize property 196, 213
     example 215
AutoScrollPosition property 196, 213
     example 215
AutoSize property
     in Label class 280
     in StatusBarPanel class 116
     in TackBar class 614
     in ToolBar class 413
AutoSizeChanged event 280
AxHost class 627
aximp.exe 631
 
B
 
B method 260
BackColor property
     in Control class 104
     in ListViewSubItem class 459
base keyword 149, 659
BaseEditDlg form 265
BeforeCollapse event 489
BeforeExpand event
     example 505
BeforeLabelEdit event
     in ListView class 470
BeforeSelect event 489
BeginEdit method
     in DataGrid class 569
     in DataGridTableStyle class 576
     in IEditableObject interface 584
     in ListViewItem class 451, 470
     in TreeNode class 495
BeginInit method 114
     in StatusBarPanel class 116
BeginPrint event 608
BeginUpdate method
     example (ListBox) 327
     in ComboBox class 335
     in ListBox class 324
binary operator 649
Binding class 592, 594
     members 594
Binding constructor 594
BindingContext class 592
BindingContext property 592
BindingManagerBase class 592, 597
     Current property 602
     EndCurrentEdit method 603
     members 597
     Position property 598
BindingManagerBase property 594
BindingMemberInfo property 594
BindingMemberInfo structure 594
Bindings property 597
Bitmap class
     custom drawing 152
     drawing by hand 153
     file formats supported 168
     GetPixel method 260
     performance implications 127
Bitmap Editor window 400
bitmaps, common files for 406
BoldedDates property 374
bool keyword 659
bool type 95, 656
Boolean class 656
BorderStyle enumeration 51, 280
BorderStyle property
     example (Label) 254
     example (Panel) 216
     for dialog box 241
     in Label class 280
     in Panel class 218
     in PictureBox class xxvi
     in Splitter class 492
     in StatusBarPanel class 116
Bottom property 17
Bottom value
     in AnchorStyles enumeration 30
     in DockStyle enumeration 32
     in TabAlignment enumeration 367
Bounds property
     in DrawItemEventArgs class 119
     in ListViewItem class 451
boxing 185, 674
break keyword 659
BringToFront method 104
     example 555
Brush class 120, 124
Brushes class 120, 122
     SlateGray property 122
Built-in types 656
Button class 291?292
     DialogResult property 249
     members 292
Button property
     in MouseEventArgs class 390
     in ToolBarButtonClickEvent-Args class 423
Button1 value 226
Button2 value 226
Button3 value 226
ButtonBase class 292
     Image property 394
     ImageAlign property 394
     members 292
ButtonClick event 423
ButtonClick property 413
ButtonDropDown event 427
ButtonDropDown property 413
Buttons property 413
ButtonSize property 413
Byte class 656
byte keyword 659
byte type 656
 
C
 
c documentation tag 675
C language xxx
C# compiler 5, 138
     /addmodule switch 139
     /doc switch 42
     /main switch 11, 536
     /out switch 139
     /r switch 20
     /reference switch 5
     /target switch 138
     executables 139
     libraries 139
     modules 139
     output type 138
C# files
     extension 5
C# language
     #region directive 42
     @ prefix 658
     abstract keyword 24
     as keyword 304
     base keyword 149
     boolean type (bool) 95
     built-in types 656
     case keyword 191
     delegate keyword 22, 275
C# language (continued)
     documentation lines 42
     documentation tags 675
     event keyword 170
     exceptions 60
     foreach loop 95
     foreach, implementing 129
     inheritance 128, 133
     internal keyword 268, 547
     is keyword 92
     keywords 658
     namespace keyword 6
     new keyword 9
     object class 154
     override keyword 155
     private keyword 268
     properties 17
     protected keyword 268
     public keyword 268
     sealed keyword 12
     source files 133
     strings 177
     switch keyword 191
     throw keyword 190
     using keyword 15, 234
C++ destructor 251
C++ language xxx
CalendarBackground value 382
CalendarFont property 368
CalendarForeColor property 368
callable entity 655
Cancel property 236
     in PrintPageEventArgs class 609
Cancel value 230
CancelButton property
     example 249
     for dialog box 241
CancelCurrentEdit method 597
CancelEdit method 584
CancelEdit property 471
     in NodeLabelEditEventArgs class 519
CancelEventArgs class 236, 309
     Cancel property 236
CanUndo property 282
Capacity property 131
CaptionDlg class 242
CaptionText property 569
     example 572
Cascade value 561
case keyword 191, 659
case label, fall through 211
CaseInsensitiveComparer class 461, 463
catch 59
catch blocks 61
catch keyword 659
CausesValidation property 309
CDialog class 194, 251
CFrameWnd class 194
ChangeExtension method 180
     example 473
Char class 289, 657
char keyword 659
char type 657
CharacterCasing property 288
check box buttons 291
CheckAlign property 300
CheckBox class 291, 305
     example 306
     members 305
CheckBoxes property
     in ListView class 444
     in TreeView class 489
checked keyword 659
Checked property
     example (MenuItem) 94
     in CheckBox class 305
     in DateTimePicker class 368
     in MenuItem class 82
     in RadioButton class 300
Checked value 305
CheckedChanged event
     in CheckBox class 305
     in RadioButton class 300
CheckFileExists property 24
CheckState enumeration 305
CheckState property 305
CheckStateChanged event 305
class hierarchy 71
class keyword 659
classes 6, 642
     indexers 148
Clear method
     example (Graphics) 205
     in ArrayList class 131
     in CollectionBase class 132
     in ListView class 444
ClearSelected method 324
     example 332
Click event
     in Control class 104
     in MenuItem class 82
Clickable value 444
Clicks property 390
ClientRectangle property 104
     for Forms 17
Clipboard 282
Clipboard class 282
ClipRectangle property 205
Clone method
     in ColumnHeader class 456
CloneMenu method
     example (MenuItem) 100
     in MainMenu class 77
     in MenuItem class 82
Close method 197, 233
     in Form class 88
     relationship to Dispose 233
     vs. Application.Exit method 88
CloseUp event 368
Closing event 197, 235
code documentation tag 675
code, Web Page documentation 42
Collapse method 495, 504
CollapseAll method 489, 504
CollectionBase class 130, 133
     members 132
     OnClear method 149
     OnRemoveComplete method 150
Color structure 120, 193
     B method 260
     G method 260
     R method 260
     RGB values 260
ColorDepth property 417
ColorDialog class 193
Colors window 401
Column property 461
ColumnClick event 444, 461
ColumnClickEventArgs class 461
     example 464
ColumnHeader class
     displaying in Visual Studio 457
     members 456
ColumnHeaderCollection class 477
ColumnHeaderStyle enumeration 444
Columns property 444, 455, 476
COM 128
ComboBox class 335
     comparison with ListBox 334
     FindString method 344
     members 335
     SelectedItem property 342
     Text property 342
ComboBoxStyle enumeration 337
     values 337
common dialogs 193
common image directory 406
CommonAppDataRegistry property 12
CommonDialog class 24, 193
Compare method 461
Comparer class 461
compiled 640
compiling .NET programs 5
complex data binding 588
Component class 72, 114
component tray 76, 99
components xxxii, 73
components field
     disposing of 420
const keyword 660
constants 643
constructors 8, 650
     instance 650
     invoking existing constructor 544
     static 650
ContainerControl class 195?196
     ActivateControl method 197
     ActiveControl property 196
containers xxxii
Contains method 129, 131
ContentAlignment enumeration 404
Contents value
     in StatusBarPanelAutoSize enumeration 115
context menu 70
ContextMenu class 73, 97?99
     members 99
ContextMenu property 97, 99, 104, 290
     example (PictureBox) 98
continue keyword 660
control
     forcing Paint event 93
Control class 53, 103, 105
     AllowDrop property 625
     BindingContext property 592
     BringToFront method 555
     ContextMenu property 99
     ControlCollection class 18
     DataBindings property 593, 595
     DoDragDrop method 622
     drag and drop 621
     DragDrop event 624
     DragEnter event 624
     Focus method 307
     GetStyle method 210
     members 104
     OnPaint method 170
     QueryContinueDrag event 622
     SendToBack method 555
     SetStyle method 210
Control property 205, 387, 594
     in Splitter class 492
Control value 387, 391
Control.ControlCollection class 18
ControlBindingsCollection class 592
ControlBox property 29, 197
     and icons 409
ControlCollection class 18
ControlKey value 391
controls xxxii
     anchoring 29
     associating data with 304
     class heirarchy 103
     cutting and pasting 365
     enter and leave events 309
     events related to focus 309
     in MDI applications 533
     setting focus to 309
Controls property 18, 104
     example (Form) 18
Controls, docking 31
ControlStyles enumeration 210
     values 210
conversion operator 649
Convert class
     ToInt32 method 463
Cookies value 177
Copy method 282
CopyTo method 129, 131
     implementation 146
Count property 129, 131
     in BindingManagerBase class 597
     in CollectionBase clas 132
CreateDirectories method 178
CreatePrompt property 182
csc. See C# compiler 5
CStatic class 244, 280
Ctrl key
     multiple selection 173
culture-specific resource 404
CurrencyManager class 597, 599
     members 599
Current property 129, 597
     example 602
CurrentCell property 569
CurrentCellChanged event 569
CurrentChanged event 597
CurrentCulture property 12
CurrentDirectory property 176
CurrentRowIndex property 569
Cursor class, in controls 104
Cursor property 104, 393
cursors
     common files for 406
     modifying defaults 393
Cursors class 393
custom controls 381, 620
custom date-time formats 371
custom menu class 378
Custom value 370
CustomFormat property 368, 371
CView class 194
 
D
 
d suffix 661
data binding 321
     data sources 574
data collections
     classes 129
     interfaces 129
Data property 625
DataAdaptor class 587
     Fill method 587
     Update method 587
DataBindings property 592
     example 595
DataFormats class 623
     FileDrop field 623
     Text field 623
DataGrid class 569
     CaptionText property 572
     members 569
     SetDataBinding method 573
     sources of data 574
     TableStyles property 576
DataGrid property 576
DataGrid.HitTestInfo class 569
DataGridBoolColumn class 581
DataGridCell structure 569
DataGridColumnStyle class 579
     members 579
DataGridTableStyle class 576
     example 577
     members 576
DataGridTableStyle property 579
DataGridTextBox class 581
DataGridTextBoxColumn class 581
     members 581
DataMember property
     in DataGrid class 569
DataObject class 622
DataRowView class 574, 583
DataSource property
     in Binding class 594
     in DataGrid class 569
     in ListControl class 316
DataSourceChanged event
     in ListControl class 316
DataView class 130, 574
date and time, customizing 371
Date property 378
Date value 382
date values, customizing 371
DateChanged event 374
dates
     comparing 480
     formating 371
DateSelected event 374
DateSeparator property 371
DateTime structure 273
     Compare method 480
     Date property 378
DateTimeFormatInfo class 371
DateTimePicker class 368
     CustomFormat property 371
     Format property 370
     members 368
DateTimePickerFormat enumeration 370
     members 370
DayNames property 371
DayOfWeek value 382
days of the week
     specifying 371
DCE 128
Deactivate event 197, 556
Decimal class 657
decimal keyword 660
decimal type 657
declaration space 640
default constructor 650
     in structures 653
default keyword 660
default namespace 640
Default property 461
default value
     for built-in types 656
DefaultItemHeight field 323
delegate
     example 276
Delegate class 655
delegate keyword 22, 275, 660
delegates 22, 655
delete
     in C++ 10
Delta property 390
descending order 460
Descending value 461
DesktopBounds property 29
DestopLocation property 29
destructors 651
Details value 443
detents 390
deterministic scope 234
device contexts 124
dialog boxes
     hiding 262
dialog boxes (continued)
     modal 225
     nonmodal 225
     properties required 240
DialogResult enumeration 23?24, 226, 230
     members 230
DialogResult property 197, 249, 292
Directory class 178
     CreateDirectories method 178
     GetFiles method 336
DirectorySeparatorChar field 180
DisplayMember property
     in ListControl class 316
DisplayMemberChanged event
     in ListControl class 316
DisplayMode enumeration 200
DisplayRectangle property 104
     in Panel class 218
Dispose method 23, 42, 72, 158
     components field 420
     relationship to Close 233
Disposed event 72
Divider property 413
DLL 128
do keyword 660
Dock property 31, 104
     default value 108
     example (MonthCalendar) 375
     example (PictureBox) 76
     example (TreeView) 490
     in Panel class 215
     in Splitter class 492
     in StatusBar class 108
     relationship to Anchor 31
     values 31
Dock property. See also Anchor property 31
DockPadding property 196
DockStyle enumeration 31?32
     values 32
documentation 42
documentation tags 675
DoDragDrop method 621?622
DomainUpDown class 372
Double class 657
double keyword 661
double type 657
DoubleBuffer value 210
DoubleClick event 390
     example (ListBox) 325
drag and drop 620
     Control members 621
     steps to perform 621
DragDrop event 621, 624
DragDropEffects enumeration 622, 625
DragEnter event 621, 624
DragEventArgs class 625
     members 625
DragLeave event 621
DragOver event 621
Draw event 417
DrawBackground method 119
DrawFocusRectangle method 119
DrawImage method 205
Drawing namespace 120
     types 120
drawing, selected text 351
DrawItem event 108, 118
     and Paint event 205
     example 121
     in ComboBox class 335
     in ListBox class 324
     in MenuItem class 82
     in TabControl class 357
DrawItemEventArgs class 118?119
     members 119
DrawItemState enumeration 119
DrawLine method
     example 152
DrawMode enumeration 347
     values 347
DrawMode property 323, 335
     example (ListBox) 346
     in TabControl class 357
DrawRectangle method 120
DropDown event 335
     in DateTimePicker class 368
dropdown menus
     tool bars, customizing 427
DropDown value 337
DropDownArrows property 413, 426
DropDownButton value 416
DropDownStyle property 335
DropDownWidth property 335
DroppedDown property 335
Dynamic Link Library. See DLL 128
 
E
 
Effect property 625
else keyword 661
Empty property 181
Enabled property
     example (MenuItem) 94
     in Control class 104
     in MenuItem class 82
     in Panel class 218
     in Timer class 613
     in ToolBarButton class 415
EndCurrentEdit method 597
     example 603
EndEdit method
     in DataGridTableStyle class 576
     in IEditableObject interface 584
EndInit method 114
     in StatusBarPanel class 116
EndPrint event 608
EnsureVisible method 444, 451, 504
Enter event 309
Enter key
     in TextBox class 283
entry point 11, 640, 673
Enum class 654
enum keyword 661
enumerated type
     cast from integer 201
enumerations 654
     as flags 63
Environment class 175
     members 176
     SpecialFolder enumeration 177
Equals method 155
event delegates
     naming conventions 170
event handlers 21, 646
     adding in Visual Studio 55
     calling from constructor 211
     naming convention 55
event keyword 170, 661
EventArgs class
     Empty property 181
EventHandler delegate 22
events 21, 646
     multiple handlers 22
example documentation tag 675
Exception class 60, 62, 670
     members 62
     Message property 61
exception documentation tag 675
exception handling 58
     performance considerations 469
exceptions 59, 670
     alternatives to 58
     finally block 185
     in static constructors 670
Exit method 12, 176
ExitCode property 176
ExitThread method 12
Expand method 504
ExpandAll method 495, 504
explicit keyword 649, 661
extern keyword 661
 
F
 
f suffix 662
false keyword 661
Favorites value 177
fields 16, 643
FIFO queue 130
File class
     Move method 473
file extensions
     C# 5
     projects 38
     solutions 38
FileAccess enumeration 184
FileDialog class 23?24
     members 24
FileDrop field 623
FileMode enumeration 184
FileName property 24
     in OpenFileDialog 25
FileNames property 24
FileOK event 24
files, renaming 46
FileShare enumeration 184
FileStream class 184
Fill method 587
Fill value 32
FillRectangle method 120
     example 122
Filter property 24
     example (OpenFileDialog) 23
finally block 185
finally keyword 661
FindString method 324, 344
FirstNode property 495
fixed keyword 662
FixedHeight value 210
FixedSingle value 253
FixedWidth value 210
FlagsAttribute attribute 63
FlatStyle enumeration 280
FlatStyle property 292
     in Label class 280
flicker, preventing 212, 327
float keyword 662
float type 657
flyby text 105, 108
     implementing 109
focus events 309
Focus method 307
Focused property
     example 519
     in ListViewItem class 451
Font class 120
     example 610
     GetHeight method 610
Font property
     in DrawItemEventArgs class 119
     in ListViewItem class 451
     in ListViewSubItem class 459
FontChanged event 579
FontDialog class 193
for keyword 662
foreach keyword 95, 662
foreach statement
     supporting in classes 129
ForeColor property
     in DrawItemEventArgs class 119
     in ListViewItem class 451
     in ListViewSubItem class 459
Form class 7, 198
     ActiveMdiChild property 549
     adding to a project 242
     as dialog box 240
     BindingContext property 592
     class hierarchy 195
     ClientRectangle property 17
     Close method 88, 233
     desktop properties 29
     displaying a Form 12
     exiting 12
     Height property 17
     HelpButton property 435
     Hide method 233, 262
Form class (continued)
     Icon property 406
     IsMdiChild property 542
     keyboard events, receiving 386
     LayoutMdi method 560
     MdiChildActivate event 555
     MdiChildren property 553
     members 197
     Menu property 76
     MenuComplete event 109
     MenuStart event 109
     MergedMenu property 537
     MinimumSize property 28
     MousePosition property 258
     OnClosing method 235
     OnKeyPress method 386
     OnLeave method 558
     OnMouseMove method 261
     Owner property 258
     Show method 233, 257
     ShowDialog method 251
     Visible property 262
     Width property 17
     WindowState property 554
Form controls
     centering 17
     resizing 26
form inheritance 264
Format event 594
Format method
     example (String) 117
Format property 370
     in DataGridTextBoxColumn class 581
     in DateTimePicker class 368
FormatChanged event
     in DateTimePicker class 368
FormatInfo property 581
FormBorderStyle enumeration 241
FormBorderStyle property 29
     FixedSingle value, example 253
Forms Designer. See Windows Forms Designer 48
FormWindowState enumeration 555
     values 555
forward declarations 100
FromImage method 153
fully qualified name 7, 15
 
G
 
G method 260
garbage collection 10
GDI+ 118, 124
get accessor 645
get keyword 143
GetBaseException method 62
GetCommandLineArgs method 176
GetContextMenu method 72
GetDataPresent method 625
GetDirectoryName method 180
     example 473
GetDisplayRange method 374
GetEnumerator method 129, 132
GetEnvironmentVariable method 176
GetExtension method 180
GetFileName method 180
GetFileNameWithoutExtension method 180
GetFiles method
     example 336
GetFolderPath method 176
GetForm method 77
GetFullPath method 180
GetHashCode method 155
     reason to override 156
GetHeight method, example 610
GetItemProperties method 597
GetItemText method 316
GetLogicalDrives method 176
GetMainMenu method 72
GetNextControl method 104
GetNodeAt method 489
GetNodeCount method 489
GetObject method 405
GetPathRoot method 180
GetPixel method 260
GetSelected method 324
     example 328
GetStyle method 210
GetTabRect method 357
GetTempFileName method 180
GetToolTip method 431
GetType method 155
global namespace 640
GotFocus event 309
goto keyword 662
Graphics class 120, 123
     Clear method 205
     DrawImage method 205
     drawing a Bitmap 152
     FromImage method 153
     MeasureString method, example 349
     members 124
Graphics property 205
     in DrawItemEventArgs class 119
     in MeasureItemEventArgs class 347
     in PrintPageEventArgs class 609
GraphicsUnit enumeration 124
GridColumnStyles property 576
     example 580
GroupBox class 215, 300
     compared to Panel 301
     example 301, 318
     tab order behavior 302
 
H
 
Handle property 72
     in ImageList class 417
HandleCreated property
     in ImageList class 417
Handled property 288
     in KeyEventArgs class 387
     in KeyPressEventArgs class 385
HasExtension method 180
Hashtable class 130
HasMorePages property 609
header files 133
HeaderStyle property
     in ListView class 444
HeaderText property 579
heap 10, 641
Height property 17
     for Forms 17
HelpButton property 435
     for dialog box 241
HelpLink property 62
HelpProvider class 435
     SetHelpString method 435
HelpRequested event 24, 241
Hide method 233
HideSelection property 489
Highlight property
     example 351
HighlightText property
     example 351
HightlightText property 119
HitArea enumeration 382
     values 382
HitArea property 380
HitTest method
     example (MonthCalendar) 378
     in DataGrid class 569
     in MonthCalendar class 374
HitTestInfo class 380
     HitArea values 382
     in DataGrid class 569
     in MonthCalendar class 380
     Time property 380
     Time values 382
HorizontalAlignment enumeration 116
hot tracking 359
HotTrack property 357
hours
     specifying 371
HScroll property 196
 
I
 
IBinding interface
     AddNew method 584
IBindingList interface 574
ICloneable interface 128
ICollection interface 129
     CopyTo method 129, 146
     Count property 129
     implementing 146
     SyncRoot property 129
IComparer interface 444, 461
     default comparer 463
     members 461
IComponent interface 72?73, 574
Icon class 406
Icon Editor window 409
Icon property 29, 197, 406
icons
     common files for 406
     editing 409
IDataErrorInfo interface 574
IDataObject interface 625
     GetDataPresent method 625
IDE 34
identifiers
     @ prefix 658
IDictionary interface 176
IDisposable interface 73, 158
     members 158
Idle event 12
IEditableObject interface 574, 584
     members 584
IEnumerable interface 129
     GetEnumerator method 129
IEnumerator interface 129
     Current property 129
     MoveNext method 129
     Reset method 129
IExtenderProvider interface 431
if keyword 663
IFormatProvider interface 581
Ignore value 230
IList interface 129
     Add method 129
     as data source 574
     Contains method 129
     data binding 321
     implementing 147
     Item property 129
     RemoveAt method 129
Image class 25, 120, 417
Image Collection Editor dialog box 418
Image Editor toolbar 401
Image property 292, 394
     example 404
     example (PictureBox) 25
     in Label class 280
     in PictureBox class xxvi
ImageAlign property 292, 394
     example 404
ImageIndex property 280, 292, 418
     in ListViewItem class 451
     in TabPage class 361
     in ToolBarButton class 415
     in TreeNode class 495
     in TreeView class 489
ImageList class 417
     disposing of 420
     members 417
ImageList property 292, 418
     example (ToolBar) 422
     in Label class 280
     in TabControl class 357
     in ToolBar class 413
     in TreeView class 489
ImageListStream class 417, 420
Images property 417
ImageSize property 417
     in ToolBar class 413
ImageStream property 417
IMessageFilter interface 12
implicit keyword 649, 663
in keyword 663
include documentation tag 675
Index property 81, 347
     in ColumnHeader class 456
     in DrawItemEventArgs class 119
     in ListViewItem class 451
     in MenuItem class 82
     in TreeNode class 495
indexers 148, 648
IndexFromPoint method 324
IndexOf method 131
Information value 226
inheritance 6
Inheritance Picker dialog box 270
InitialDelay property 431
InitialDirectory property 24
InitializeComponent method 245
InnerException property 62
InnerList property 132
instance constructors 650
int keyword 663
Int type 657
Int16 class 657
Int32 class 657
Int64 class 657
integer type
     cast to enumeration 201
interactive development environment (IDE) 34
interface keyword 663
interfaces 128, 653
     collection related 129
     comparison with abstract class 128
     data binding 574
     supporting from a class 145
Intermediate value 305
internal keyword 268, 547, 663
Internal modifier 268
internationalization 12
Interval property 613
Invalidate method 93, 104
InvalidCastException class 93
InvalidOperationException class 305
InvalidPathChars field 180
IOException class 61, 190, 228
is keyword 92, 663
     compared with as keyword 92
IsBinding property 594
IsDigit method 289
IsEditing property 495
IsExpanded property 495
IsInputChar method 387
IsInputKey method 387
IsLetter method 289
IsMdiChild property 197
     example 542
IsParent property 72
IsSelected property 495
IsVisible property 495
Item property 129, 471
     in DataGrid class 569
ItemActivate event 444, 474
ItemActivation enumeration 474
     members 474
ItemChanged event 599
ItemDrag event 627
     in ListView class 444
     in TreeView class 489
ItemHeight property 323
     in MeasureItemEventArgs class 347
Items property 323
     in ComboBox class 335
     in ListView class 444
ItemSize property 357
ItemWidth property
     in MeasureItemEventArgs class 347
 
K
 
keyboard events
     sequence of 288
keyboard shortcuts
     enumeration 81
     for Add New Item dialog 400
KeyChar property 288, 385
KeyCode property 387
KeyData property 387
KeyDown event 288, 385
KeyEventArgs class 387
     members 387
KeyPress event 104, 288, 385
KeyPressEventArgs class 288, 385
     members 385
KeyPreview property 386
Keys enumeration 387
     Ctrl key 391
KeyState property 625
KeyUp event 288, 385
KeyValue property 387
 
L
 
L suffix 663
Label class 280
     AutoSize property 283
     BorderStyle property 254
     compared to read-only text box 281
     example 244
     image example 630
     members 280
     tab order behavior 280
Label property 471
     in NodeLabelEditEventArgs class 519
LabelEdit property 444, 470
     in TreeView class 489
LabelEditEventArgs class 471
     members 471
LargeChange property 614
LargeIcon value 442
LargeImageList property 444
LayoutMdi method 560
Leave event 309
Left property 17
Left value
     in AnchorStyles enumeration 30 Left value (continued)
     in DockStyle enumeration 32
     in TabAlignment enumeration 367
libraries 640
Life, the universe, and everything 42
LIFO queue 130
Lines property 282
Link class 634
LinkClicked event, example 634
LinkColor property 576
LinkLabel class 281, 628
     example 630
     Link class 634
     LinkClicked event 634
     Links property 634
LinkLabel.Link class 634
LinkLabelLinkClickedEvent-Args class 634
Links property 634
list documentation tag 675
List property 132
List value 443
ListBox class 323
     ClearSelected method 332
     comparison with ComboBox 334
     contrasted with ListView 442
     DrawMode property 346
     GetSelected method 328
     members 323
     preventing flickering 327
     SelectedIndices property 332
     SelectedItems property 332
     SetSelected method 332
ListBox.SelectedIndexCollection class 332
ListControl class 316
     members 316
ListView class 444
     AfterLabelEdit event 470
     BeforeLabelEdit event 470
     ColumnClick event 461
     columns in Visual Studio 457
     Columns property 455, 476
     contrasted with ListBox 442
     display styles 442
     item definition 451
     ItemActivate event 474
     LabelEdit property 470
     ListViewItemSorter property 461
     members 444
     MultiSelect property 466
     SelectedIndices property 466
     SelectedItems property 466
     Sorting property 461
     View property 450
ListView property 451
     in ColumnHeader class 456
ListViewItem class 442, 451
     BeginEdit method 470
     constructors 451
     members 451
     subitems 459
ListViewItem.ListViewSubItem class 459
ListViewItemSorter property 444, 461
ListViewSubItem class 442, 459
     constructors 459
     members 459
Load event 197
locale. See internationalization 12
localization 405, 679
Location property 104
lock keyword 663
long keyword 663
long type 657
Long value 370
LostFocus event 309
 
M
 
m suffix 660
MachineName property 176
Main function 11
main menu 70
Main method 673
MainMenu class 73, 77
     members 77
makefiles 138
MappingName property
     example (DataGridTable-Style) 577
     for DataSet data source 576, 579
     for IList data source 576, 579
     in DataGridColumnStyle class 579
     in DataGridTableStyle class 576
MarginBounds property 609
MarshalByRefComponent class 72
MarshalByRefObject class 72
marshaling 73
MaxDate property 368, 374
MaxDropDown property
     example 341
MaxDropDownItems property 335
MaximizeBox property 29, 197
     for dialog box 241
Maximized value 555
MaximizedBounds property 29
Maximum property
     in TrackBar class 614
MaximumSize property 29, 197
MaxLength property 282, 335
MaxSelectionCount property 374
MDI child forms
     and other controls 533
MdiChildActivate event 555
MdiChildren property 553
MdiClient class 533
MdiLayout enumeration 560
     values 560
MdiList property 565
MdiListItem property 72, 565
MeasureItem event 82
     example 348
     in ListBox class 324
MeasureItemEventArgs class 347
     members 347
MeasureString method 349
members 8, 642
Menu 71
menu bars 70
Menu class 72?73
     class hierarchy 72
     MdiListItem property 565
     members 72
     MergeMenu method 537
     Popup event 88
Menu property 76, 197
menu separator 74
MenuComplete event 109
MenuItem class 73, 82
     CloneMenu method 100
     Index property 81
     MdiList property 565
     members 82
     MergeOrder property 539
     MergeType property 538
     merging menus 537
     RadioCheck property 448
     Select event 109
     Tag property, lack of 378
MenuItemCollection class 72
MenuItems property 72
MenuMerge enumeration 538
     values 538
menus
     access keys 77
     context menus 97
     duplicating 100
     inserting menu bar item 164
     providing help text 109
     submenus. See MenuItems property 72
MenuStart event 109
MergedMenu property 537
MergeItems value 538
MergeMenu method 72, 82, 537
MergeOrder property 82, 539
MergeType property 538
Message property
     example 61
MessageBox class 225?226
     members 226
     newline in text 228
MessageBoxButtons enumeration 226
MessageBoxDefaultButton enumeration 226
     values 226
MessageBoxIcon enumeration 226
     values 226
MessageBoxOptions enumeration 226
metafiles
     common files for 406
MethodBase class 62
methods 8, 644
MFC, group boxes 215
Microsoft Development Environment 37
MiddleCenter value 404
MinDate property 368
MinExtra property 492
MinimizeBox property 29
     for dialog box 241
Minimized value 555
Minimum property
     in TrackBar class 614
MinimumSize property 28?29
MinSize property 492
minutes, specifying 371
MinWidth property 116
mnemonics 281
modal dialog box 225
     Dispose method 234
Modal property 197
modeless dialog boxes 225
modeless dialog. See nonmodal dialog 257
Modifiers property 267, 387
     values 267
MonthCalendar class 374
     HitArea enumeration 382
     HitTest method 378
     members 374
MonthCalendar.HitArea enumeration 382
MonthCalendar.HitTestInfo class 380
     HitArea values 382
     Time values 382
MonthNames property 371
months, specifying 371
mouse pointers 393
MouseButtons enumeration 390
MouseDown event 377, 389
MouseEnter event 389
MouseEventArgs class 261, 390
     members 390
MouseHover event 389
MouseLeave event 389
MouseMove event 261, 389
MousePosition property 258
MouseUp event 104, 389
MouseWheel event 389
Move method, example 473
MoveNext method 129
Muliline property 282
MultiColumn property 323
MultiExtended value 329
Multiline property 357, 363
MultilineChanged event 282
MultiSelect property
     in ListView class 444, 466
Multiselect property 167
MultiSimple value 329
multithreading 680
MyListViewComparer class 461
MyPhotos application 35
 
N
 
Name property 50
     example 53
namespace keyword 6, 664
namespaces xxi, 640
namespaces (continued)
     naming convention 136
     setting default 265
naming conventions
     controls in Visual Studio 49
     event delegates 170
     event handlers 55
     namespaces 136
     properties 143
NativeWindow class 210
Navigate event 569
new keyword 9, 664
     as modifier 155
New Project dialog box 37
NextMonthButton value 382
NextMonthDate value 382
NextVisibleNode property 495
No value 230
Node property 504
     in NodeLabelEditEventArgs class 519
NodeFont property 495
NodeLabelEditEventArgs class 519
     members 519
nodes 488?489
Nodes property 489, 495
NoMatches field 323
None value 387
     in AnchorStyles enumeration 30
     in DialogResult enumeration 230
     in DockStyle enumeration 32
     in SelectionMode enumeration 329
     in SortOrder enumeration 461
     in StatusBarPanelAutoSize enumeration 115
     in StatusBarPanelBorderStyle enumeration 115
nonmodal dialog boxes 225, 252
     displaying 257
Normal value
     in DrawMode enumeration 347
     in FormWindowState enumeration 555
Nowhere value 382
null keyword 664
NullText property 579
NumericUpDown class 372
 
O
 
Object class 72, 154, 657
     inheritance from 134
     members 155
object class 154
     vs. Object class 154
object keyword 664
object type 657
objects
     equality 155
OK value 230
     in MessageBox class 226
OKCancel value 226
OnClear method 132
     example (PhotoAlbum) 149
OnClosing method 235
     example 236, 269
One value 329
OneClick value 474
OnInsert method 132
OnKeyDown method 387
     example 388
OnKeyPress method
     example 386
OnLeave method
     example 558
OnLoad method
     example 572
OnMenuComplete method 110
OnMouseMove method 261
OnPaint method 170
OnRemoveComplete method
     example (PhotoAlbum) 150
OnwerDraw value
     in StatusBarPanelStyle enumeration 115
OpenFile method 167, 182
     example (OpenFileDialog) 25
OpenFileDialog class 23?24, 167
     FileName property 25
     Filter property 23
     members 167
     OpenFile method 25
     ShowDialog method 23
     Title property 23
OperatingSystem class 176
operator keyword 664
operators 649
option button 291
Orientation enumeration 614
Orientation property 614
OSVersion property 176
out keyword 664
OutOfMemoryException class 61
override 129
override keyword 155, 665
OverwritePrompt property 182
Owner property
     example 258, 633
OwnerDraw property 82
OwnerDrawFixed value 347
owner-drawn list 345
owner-drawn objects
     events for 118
OwnerDrawVariable value 347
 
P
 
PageBounds property 609
PageSettings class 609
PageSettings property 609
PageSetupDialog class 193, 606
     example 608
Paint event 104, 118, 170
     and DrawItem event 205
     example 220
PaintDialog class 193
PaintEventArgs class 170, 204?205
     members 205
PaintEventHandler delegate 170
painting 170
Panel class 215?216
     BorderStyle property 216
     ClientRectangle property 218
     compared to GroupBox 301
     example 217
     members 218
     Paint event, example 220
     PointToClient method 258
Panel property 108, 119
PanelClick event 108
para documentation tag 675
param documentation tag 675
paramref documentation tag 675
params keyword 665
Parent property
     in Control class 104
     in MenuItem class 82
     in StatusBarPanel class 116
     in ToolBarButton class 415
     in TreeNode class 495
Parse event 594
PartialPush property 415
PasswordChar property 288
     example 297, 306
Paste method 282
Path class 180
     ChangeExtension method 473
     GetDirectoryName method 473
     GetFileNameWithoutExtension method 179
     members 180
PathSeparator field 180
PathSeparator property 489
Pen class 120, 124, 153
     example 152
     Red property 153
PerformClick method 292
     in MenuItem class 82
     in RadioButton class 300
PerformSelect method 82
permission documentation tag 675
Personal value