510
ToolStripContainer – values
var – Windows Presentation Foundation
fields, 406
literal, 131–133
localization, 390391
Margin, 455
nullable data types, 430
parameters, 249
properties, 157
structures, 269
variables, 105, 127, 130
watches, 155–156
data types, 413
L
INQ, 412
,
foreach
loops, 231
,
using, 293
ariables, 105, 127–149
arrays, 196
calculations, 136–145
data types, 127–130
DateTime, 187–188
declaring, 130
delegates, 276
dialogs, 117
event handlers, 107–108
form instance, 105
method scope, 165–166
private, 109
public, 109
range, 412, 474
reading, 153–154
same name, 164–165
values, 105, 127, 130
watches, 155–156
erbatim string literals, 133, 475
ertical Spacing, Format menu, 29
,
Image, 455, 459
,
Rectangle, 464
irtual, 475
, 25
MenuStrip, 403
isual C#, 3, 475
Windows Forms, 6
ToolStripContainer, 69–70, 480
RichTextBox, 73
ToolStripMenuItem, 58
ToolStripMenuItems, 47
ToolTip, 20, 304, 480
Top
Anchor
, 38
Dock, 40
TopToolStripPanelVisible, 69
ToShortDateString, 182
ToShortTimeString, 182
ToString, 182
DateTime, 189, 191
LINQ queries, 429
objects, 178
overriding methods, 303, 333
string, 177–184
System.Object, 303
TotalDays, DateTime, 191
TotalFreeSpace, DriveInfo, 350
TotalHours, DateTime, 191
TotalMilliseconds, DateTime, 191
TotalMinutes, DateTime, 191
TotalSeconds, DateTime, 191
TotalSize, DriveInfo, 350
ToUniversalTime, 188
DateTime, 189
ToUpper, string, 176
TrackBar, 481
Scroll, 52
transforming data, 416
transforming LINQ query, 475
TreeNode, 331–333
TreeView, 397, 481
Trim, string, 176
TrimEnd, string, 176
TrimStart, string, 176
try-catch, exceptions, 252–254
try-catch-finally, 253
tryingToLogin, loops, 237
tt, custom date/time format, 183
2GL, 4
Type Here, submenus, 58
Type, LINQ to SQL Source, 433
types, forms, 104
U
U, universal sortable full date/time format
character, 182
u, universal sortable short date/time format
character, 181
uint
data type, 129
literal suffix characters, 131
ulong
data type, 129
literal suffix characters, 131
unary operators, overloading, 312
Undo, RichTextBox, 82
upper bound, 196, 475
user interface, event handlers, 451
username, 237
ushort
data type, 128
literal suffix characters, 131
using
Clipboard
, 371
CreateGraphics, 439
Graphics, 441
StreamReader, 346
StreamWriter, 346
System.Diagnostics, 260
variableInitialization, 293
UTC. See Coordinated
Universal Time
UtcNow, DateTime, 190
V
\v, escape sequence, 132
ValidateNames, SaveFileDialog, 96
Value, control names, 24
ValueChanged, 52
values, 470
arrays, 196–197, 263
data types, 128
casting, 134
checked, 134
Convert, 135
Parse, 135–136
596906bindex.indd 510 4/9/10 7:34:35 AM

Get Stephens' C# Programming with Visual Studio® 2010 24-Hour Trainer now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.