Edit
AllowEdit, 355
BeginEdit, 346
breakpoints, 28, 31
CancelCurrentEdit, 359
CancelEdit, 346
Edit Test Run Configurations, 48
Edit Value, 26
EndCurrentEdit, 359
EndEdit, 346
IDE menus, 12–13
IsEdit, 357
LabelEdit, 933
menu, 12–13
Editors
button editor, 43–44
integrated, 9
Text Editor, 46
types available, 9, 55
See also Code editor
Elements, namespaces, 484
Ellipse
DrawEllipse, 554
FillEllipses, 560
XAML drawing of, 718–19, 722
Ellipsis
EllipsisCharacter, 625
EllipsisPath, 625
Else
and block scope, 156
in If Then statement, 208–9
Else If, 208–9
e-mail address, comparison operators, 174
Embedded manifest, 421–22
Embedded resources, 756–57
Embedded Resource, 369
EMF format, 642
Em Height, 631
Enable
Enable Breakpoint, 57
EnableRaisingEvents, 795
event handler, 98
Form, 1012
Encapsulation
without classes, 427–28
defined, 427
intuitive, 428
object-oriented programming, 427–28
Encryption. See Cryptographic operations
End
EndCurrentEdit, 359
EndEdit, 346
EndPrint, 659
EndRead, 770
EndWrite, 770
function, 204–5
End cap
CustomEndCap, 584
EndCap, 585
End If
and block scope, 156
control functions of, 209
Endpoints, Windows Communication Foundation (WCF), 824
End Region, 112
EnforceConstraints, 340
Enqueue, 524–25
Entension, 792
Enumerated data types, 163–66
benefits of, 165–66
declaring, syntax of, 164, 875
defined, 163
formatting, 1052–53
namespace elements, 484
and Select Case, 214–15
System.Drawing, 1029–30
System.Drawing.Drawing2D, 546–48, 1030–31
System.Drawing.Imaging, 551
Enumerators
defined, 226
EnumerateMetafile, 561, 652
IEnumerable interface, 227
and looping statements, 226–27
Environment, 739–44
methods, 743–44
System.Environment properties, 742–43
Windows Vista, 741–42
Windows XP, 739–40
EOF (End of File), 782
Equals (=)
arithmetic operator, 173
assignment operators, 178–79
Err object
error handling, 259–60
properties of, 259
Error(s)
Error List, 8, 62
ErrorProvider, 263, 271, 915–16
FileSystemWatcher, 796
suggestion indicator, 62–63
wavy underline indicator, 62
Error handling
bugs, 235–38
and choice of controls, 266
custom exceptions, 251–52, 894
Err object, 259–60
On Error, 253–56, 897
error-handling mode, 256–57
exception classes, 895–97
exception objects, 244–45
exiting, 898
global exception handling, 240–41
StackTrace objects, 246–48
structured error handling, 241–44, 893
structured versus classic, 257–58
throwing exceptions, 248–51, 893
unexpected conditions, 236, 238–40
See also Debugging
Escaping, identifiers, 148
Event(s), 94–104, 466–73
accessibility value, 467–68, 1025
attribute_list, 467
catching, 469–70.
See also Event handler
control events, listing of, 867–70
custom events, 470–73
declaring, 467–68
DefaultEvent, 191
defined, 94, 425, 466
DoEvents, 765
EventLog, 263, 916–17
events, 297–98
Form events, 1018–21
implements interface, 468
MyApplication Events, 240–41
object-oriented programming, 466–73
order of. See Event sequences
parameters, 468, 1026
Properties window option, 96
RaiseEvent, 94–95, 468–69, 471–73, 1026
routed, 716
Shadows, 468, 1026
shared methods, 475–77
shared variables, 474–75
syntax for, 1025–26
Event handler
adding and removing from control, 97–98
application-level, defining, 240–41
assigning at runtime, 97–98
changing at design time, 99
control array events, 99
creating at design time, 95–96
enable and disable, 98
functions of, 95
switching, 98–99
validation events, 99–104
WithEvents, 96, 145–47, 469–70
Event sequences
mouse, 870–71
move, 871
resize, 871
Exception(s)
catching exceptions, 248
dialog box, 26
error handling, 244–46, 895–97
Object Browser classes, 250
properties/methods, 244
throwing exceptions, 248
Exception classes, 1041–43
custom exceptions, 251–52, 1044
listing of, 895–97
ExcludeClip, 561
Exclude From Project, 16
ExecutablePath, 763
ExecuteMe, 417–18
ExecuteNonQuery, 328, 336
Execute Query, 335
ExecuteReader, 337
ExecuteScalar, 337
Execution paths, threads, 29
EXE files, Modules window information, 30
Existing Project, 11
Exists
Directory, 788, 792, 800
File, 794, 800
Path, 778
Exit
Application, 241, 765
Environment, 743
Exit Sub, 253
ExitThread, 765
function, 204–5, 253
looping statement, 230
statement, 230–31
ExitCode
System.Environment, 742
UAC security, 417–18
Exit Do, stop loop, 229, 231
Exit For, stop loop, 221, 224, 231
ExpandEnvironmentVariables, 743
Exponentiation operator (^), 171, 177
Exporting. See Import and export
Expression, 347
Expressions
pattern-matching, 174
regular expressions, 836–39
Exten, 951–53
Extensible Application Markup Language (XAML), 695
editing, 699–703
user interface/code separation, 696–97
See also Windows Presentation Foundation (WPF)
Extensible Markup Language (XML), 839–41
classes, 839–40
comment block, creating, 124–27
comments, 124–28, 192
editor, 55
files, building, 124–27, 840–41
function of, 839
My.WebServices, 739
Object Browser, comments in, 126–27
Schema, 54
System.Xml namespace, 839–41
tags, code snippets, 63, 65
XPS documents, 731–32
Extension
FileInfo, 794
OpenFileDialog, 951–52
External Leading, 631
External Tools, 38