487
Index
Symbols
!
Not logical operator, 139
operator precedence, 144
overloading operator, 312
!=
Not Equals comparison operator, 141
overloading operator, 312
“”
Hello
, 27
string, 132
values, 406
%
field to value comparison, 406
modulus arithmetic operator, 138
operator precedence, 144
overloading operator, 312
&
And bitwise operator, 143
And logical operator, 139
operator precedence, 144
overloading operator, 312
&&
Conditional And logical operator, 139
nested
if statements, 223
operator precedence, 144
‘’
chars
, 132
string values, 406
*
field to value comparison, 406
multiplication arithmetic operator, 138
operator precedence, 144
overloading operator, 312
+
addition arithmetic operator, 138
operator precedence, 144
overloading operator, 311–312
++
overloading operator, 312
pre-increment arithmetic operator, 138
+=
Add and Assign assignment operator, 142
add to, 51
,
generic classes, 332
generic constraints, 334
thousands separator numeric format, 180
variables, 130
-
negation arithmetic operator, 138
operator precedence, 144
overloading operator, 312
subtraction arithmetic operator, 138
--
overloading operator, 312
post-decrement arithmetic operator, 138
-=
Subtract and Assign assignment operator, 142
subtract from, 51
/
custom date/time format, 183
division arithmetic operator, 138
operator precedence, 144
overloading operator, 312
:
constructors, 294
custom date/time format, 183
596906bindex.indd 487 4/9/10 7:34:25 AM
488
; – ‘ABC’
accelerators – AvailableFreeSpace
ccelerators, 469
menus, 59
, 119–120, 469
d
ialogs, 115
NewItemForm, 169
ccessibility, 469
fields, 167–168
private, 324
restricting, 168
scope, 167–168
methods, 243
p
roperties, 272
ccessors, 469
methods, classes, 271
property, 273–275
breakpoints, 274
null, 275
DateTime
, 189
List, 201
SortedLists, 202
TimeSpan, 189
dd New Data Source, Data menu, 395
dd New Item, Add Windows
Form, 106
dd Windows Form
Add New Item, 106
Project menu, 103–104
,
DateTime, 189
,
OpenFileDialog, 95
,
DateTime, 189
,
DateTime, 189
,
DateTime, 189
,
DateTime, 189
lign, Format menu, 29
,
Format, 177
, 379
,
ColorDialog, 94
, 334335
, 24, 469
AutoSize, 39
Button, 39
design time, 39
Label, 39
LinkLabel, 39
;
properties, 26
section separato numeric format, 180
<
field to value comparison, 406
Less Than comparison operator, 141
operator precedence, 144
overloading operator, 312
<<
left shift bitwise operator, 143
overloading operator, 312, 313
<=
field to value comparison, 406
Less Than Or Equal To comparison
operator, 141
operator precedence, 144
overloading operator, 312
=
Assign assignment operator, 142
And bitwise operator, 143
field to value comparison, 406
variable value, 130
==
Equals comparison operator, 141
overloading operator, 312
>
field to value comparison, 406
Greater Than comparison
operator, 141
operator precedence, 144
overloading operator, 312
>>
overloading operator, 312, 313
right shift bitwise operator, 143
>=
field to value comparison, 406
Greater Than Or Equal To comparison
operator, 141
operator precedence, 144
overloading operator, 312
^
operator precedence, 144
overloading operator, 312
Xor bitwise operator, 143
Xor logical operator, 139
{}
Format
, 177
object initialization, 289
statements, 220
|
Or bitwise operator, 143
Or logical operator, 139
operator precedence, 144
overloading operator, 312
||
Conditional Or logical operator, 139
nested
if statements, 223
operator precedence, 144
~
complement bitwise operator, 143
overloading operator, 312
_, accelerators, 59
(), code clarity, 145
., decimal separator numeric format, 180
#, digit numeric format, 180
/=, Divide and Assign assignment operator, 142
, escape character numeric format, 180
\, escape sequence, 132
, escape sequence, 132
, escape sequence, 132
?, escape sequence, 132
00, escape sequence, 132
<>, field to value comparison, 406
[], Format, 177
%=, Logical And and Assign assignment
operator, 142
|=, Logical Or and Assign assignment operator, 142
^=, Logical Xor and Assign assignment
operator, 142
..., menus, 59
*=, Multiply and Assign assignment operator, 142
//, properties, 26
0, zero numeric format, 180
A
a, escape sequence, 132
‘ABC
custom date/time format, 183
literal string numeric format, 180
596906bindex.indd 488 4/9/10 7:34:25 AM
; – ‘ABC’
489
accelerators – AvailableFreeSpace
accelerators, 469
menus, 59
AcceptButton, 119–120, 469
dialogs, 115
NewItemForm, 169
accessibility, 469
fields, 167–168
private, 324
restricting, 168
scope, 167–168
accessibility
methods, 243
properties, 272
accessors, 469
methods, classes, 271
property, 273–275
breakpoints, 274
null, 275
Add
DateTime
, 189
List, 201
SortedLists, 202
TimeSpan, 189
Add New Data Source, Data menu, 395
Add New Item, Add Windows
Form, 106
Add Windows Form
Add New Item, 106
Project menu, 103–104
AddDays, DateTime, 189
AddExtension, OpenFileDialog, 95
AddHours, DateTime, 189
AddMinutes, DateTime, 189
AddSeconds, DateTime, 189
AddYears, DateTime, 189
Align, Format menu, 29
alignment, Format, 177
AllowDrop, 379
AllowFullOpen, ColorDialog, 94
Alternate, 334335
Anchor, 24, 469
AutoSize, 39
Button, 39
design time, 39
Label, 39
LinkLabel, 39
properties, 39
Properties window, 39
AnchorStyles, 26
AND, field to value comparison, 406
animation, properties, 450
anonymous type, 418, 469
API. See Application Programming Interface
AppendAllText, File, 354
Application Programming Interface (API), 450, 469
applications
solutions, 7
WPF, 451–454
archives, projects, 10
ArgumentOutOfRangeException, 254
arithmetic operators, 137–139
arrays, 195–200, 469
Fibonacci, 197, 472
foreach loops, 232
indexes, 195196
methods, 199–200, 249
multi-dimensional, 198–199
properties, 199–200
Sort, 199, 200, 328
values, 196–197, 263
variables, 196
ArrayList, Remove, 201
arrow keys, controls, 28
ascending, 416
assembly, 469
language, 4
assertions, 259–265, 469
input, 259–261
values array, 263
assignment operators, 142
Attributes
DirectoryInfo
, 352
FileInfo, 353
Auto Hide, Visual Studio IDE Properties
window, 12
auto-implemented properties, 272
autorun, interface, 484
AutoSize, 24
Anchor, 39
Dock, 41
AutoSize = False, 122
AvailableFreeSpace, DriveInfo, 349
{}
Format
, 177
object initialization, 289
statements, 220
|
Or bitwise operator, 143
Or logical operator, 139
operator precedence, 144
overloading operator, 312
||
Conditional Or logical operator, 139
nested
if statements, 223
operator precedence, 144
~
complement bitwise operator, 143
overloading operator, 312
_, accelerators, 59
(), code clarity, 145
., decimal separator numeric format, 180
#, digit numeric format, 180
/=, Divide and Assign assignment operator, 142
, escape character numeric format, 180
\, escape sequence, 132
, escape sequence, 132
, escape sequence, 132
?, escape sequence, 132
00, escape sequence, 132
<>, field to value comparison, 406
[], Format, 177
%=, Logical And and Assign assignment
operator, 142
|=, Logical Or and Assign assignment operator, 142
^=, Logical Xor and Assign assignment
operator, 142
..., menus, 59
*=, Multiply and Assign assignment operator, 142
//, properties, 26
0, zero numeric format, 180
A
a, escape sequence, 132
‘ABC
custom date/time format, 183
literal string numeric format, 180
596906bindex.indd 489 4/9/10 7:34:26 AM
490
CheckedChanged – configuration
 – Checked
, 51
, 477
,
OpenFileDialog, 95
,
ToolStripMenuItem, 58
,
OpenFileDialog, 95
hild class, 283
, generic constraints, 333
lasses, 269–288, 470
accessor methods, 271
benefits, 270
child, 283
collections, 200–204
encapsulation, 270
event handlers, 104
events, 271, 276–280
fields, 271
ne-tuning, 301–310
forms, 104–105
generic, 200–201, 331–339, 472
inheritance, 283–284
generic constraints, 333
LINQ to SQL, 426427
methods, 242, 271, 276
new, 104
objects, 104, 269
overloading methods, 301
overriding methods, 302–304
parent, 283
polymorphism, 270, 284
properties, 271–274
references, 269
reusing code, 270
scope, 163–167
structures, 211–212, 269–270
Array
, 200
Queue, 204
RichTextBox, 82
SortedLists, 202
Stack, 204
, 51
Button, 26, 47
ClickMeButtonClick, 50
events, 47
sender, 48
B
, escape sequence, 132
babelfish.yahoo.com, 387
BackColor, 24, 27
Button, 105
StatusStrip, 71
TextBox, 23
BackgroundImage, 24
BackgroundWorker, 477
backing fields, 469
properties, 272–274
base, constructors, 295
BASIC, 4
BeginPrint, PrintDocument, 360
BevelBitmapEffect, BitmapEffect, 458
binary operators, overloading, 313
BinarySearch, Array, 200
binDebug, 9, 261
BindingContext, 26
Find, 405406
BindingNavigator, 398–399, 400, 477
BindingSource, 398, 477
CurrencyManager, 403, 405
RemoveFilter, 407
Sort, 407
binRelease, 261
bit, 128, 469
Bitmap
Graphics
, 439
memory, 440
BitmapEffect
BevelBitmapEffect
, 458
Image, 456
bitwise operators, 142–143
blank strings, 434
bool
Convert
, 135
data type, 129
BorderStyle, 24
Bottom
Anchor
, 38
Dock, 40
BottomToolStripPanelVisible, 69
break, decision statements, 235–236
breakpoints, 152–153, 469
property accessors, 274
Brush
GDI+, 443445
Pen, 442
bug, 151–160, 470. See also debugging
Button, 269, 477
Anchor, 39
BackColor, 105
Click, 26, 47
DialogResult, 117
non-modal display, 111
ToolStrip, 68
by reference. See references
by value. See values
byte, 128, 470
byte
data type, 128
literal suffix characters, 131
C
C#, 470
C, currency format character, 179
CAD. See computer aided design
calculations, variables, 136–145
camel casing, 23, 470
CancelButton, 119–120, 470
DialogResult, 117
dialogs, 115
NewItemForm, 169
capitalization, Immediate window, 157
cascading
if decision statements, 221–222
case, switch decision statement, 224
casting, data type values, 134
catch, 470
event handlers, 47
Center in Form, Format menu, 29
ChangeExtension, Path, 355
char, data type, 129
chars, ‘’ (single quotes), 132
CheckBox, 477
CheckedChanged, 51
checked, data type values, 134
Checked, ToolStripMenuItem, 58
596906bindex.indd 490 4/9/10 7:34:26 AM
491
CheckedChanged – configuration
 – Checked
CheckedChanged, 51
CheckedListBox, 477
CheckFileExists, OpenFileDialog, 95
CheckOnClick, ToolStripMenuItem, 58
CheckPathExists, OpenFileDialog, 95
child class, 283
class, generic constraints, 333
classes, 269–288, 470
accessor methods, 271
benefits, 270
child, 283
collections, 200–204
encapsulation, 270
event handlers, 104
events, 271, 276–280
fields, 271
ne-tuning, 301–310
forms, 104–105
generic, 200–201, 331–339, 472
inheritance, 283–284
generic constraints, 333
LINQ to SQL, 426427
methods, 242, 271, 276
new, 104
objects, 104, 269
overloading methods, 301
overriding methods, 302–304
parent, 283
polymorphism, 270, 284
properties, 271–274
references, 269
reusing code, 270
scope, 163–167
structures, 211–212, 269–270
Clear
Array
, 200
Queue, 204
RichTextBox, 82
SortedLists, 202
Stack, 204
Click, 51
Button, 26, 47
ClickMeButtonClick, 50
events, 47
sender, 48
ClickMeButton, Click, 50
Clipboard, 369–375
StringCollection, 370–371
using, 371
clocks,
StatusStrip, 70
Close, StreamWriter, 344
Code Editor, event handlers, 26, 47
code generalization, interfaces, 320321
code snippets, Visual Studio, 4
code-behind, 451, 470
codeToProtect, try-catch, 252
collections, classes, 200–204
Color, 26–27
ColorDialog, 91, 94
FromName, 392
Pen, 442
ColorDialog, 89, 477
Color, 91
properties, 94
ColumnDefinitions, 454
Combine, Path, 355
combo boxes, menus, 58
ComboBox, 477
enumerations, 211
SelectedIndexChanged, 52
ToolStrip, 68
comments, 26, 470
comparison operators, 141
overloading, 314
Component Tray, 470
MenuStrip, 57
StatusStrip, 57
components, 20, 470
compound assignment operators, 142, 470
CompoundArray, Pen, 442
compression, projects, 10
computer aided design (CAD), 470
concatenation, 470
string operators, 140–141
condition
do
loops, 233
if decision statement, 220
if-else decision statement, 221
while loops, 232
configuration, IDE, 5
breakpoints, 152–153, 469
property accessors, 274
Brush
GDI+, 443445
Pen, 442
bug, 151–160, 470. See also debugging
Button, 269, 477
Anchor, 39
BackColor, 105
Click, 26, 47
DialogResult, 117
non-modal display, 111
ToolStrip, 68
by reference. See references
by value. See values
byte, 128, 470
byte
data type, 128
literal suffix characters, 131
C
C#, 470
C, currency format character, 179
CAD. See computer aided design
calculations, variables, 136–145
camel casing, 23, 470
CancelButton, 119–120, 470
DialogResult, 117
dialogs, 115
NewItemForm, 169
capitalization, Immediate window, 157
cascading
if decision statements, 221–222
case, switch decision statement, 224
casting, data type values, 134
catch, 470
event handlers, 47
Center in Form, Format menu, 29
ChangeExtension, Path, 355
char, data type, 129
chars, ‘’ (single quotes), 132
CheckBox, 477
CheckedChanged, 51
checked, data type values, 134
Checked, ToolStripMenuItem, 58
596906bindex.indd 491 4/9/10 7:34:27 AM
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.125.169