|
Cancel method of SQL command classes, explanation of, 445
CancelEdit method of DataRow class, explanation of, 461
cap styles, using with pens, 268-271
caret lines, returning strings for, 72
CaretColor property
of StyledTextArea class, 62
of View class, 43
CaretColumnNo property of StyledTextArea class, implementing, 62-63
CaretLineNo property of StyledTextArea class, implementing, 63
carets
changing width of, 42
creating blinking effect of, 44-45
determining starting point for drawing of, 46-47
drawing, 42
drawing with View class, 46-47
explanation of, 1-2
indicating columns of lines present on, 75-76
indicating presence in selected text, 77
indicating visibility of, 42, 48
moving to next location, 54-56
raising events with, 89-90
scrolling for visibility of, 85
using with StyledTextArea class, 60
caretThread thread, using with View class, 41-42
carriage-return characters, identifying with InsertData method of Model class, 36
Cascade member, using with MDI applications, 129
CaseSensitive property
of DataSet class, 456
of DataTable class, explanation of, 458
Cat class, passing map array of strings to, 250
cat images, animating, 244
Categories table in BuyDirect application, contents of, 545
cats
changing walk directions of, 241
dead images of, 244
determining cell position of, 250-251
determining next positions of, 242
determining presence in cat house, 252
moving in Doggie computer game, 239-243
normal looks of, 245
scared looks of, 245
updating positions of, 243-253
CDUP FTP command, description of, 341
cells
drawing for maze in Doggie computer game, 209-215
navigating in Doggie computer game, 231
ChangeDatabase method of Connection object in ADO.NET, explanation of, 440
ChangeDir method of FTP class, example of, 381, 399-400
ChangeLocalDir method of Form1
class, overview of, 396-397
ChangeRemoteDir method of Form1
class, overview of, 398-400
ChangeToAsciiMode method of FTP class, example of, 381
characters
deleting in Model class, 31-32
determining insertion or deletion of, 63-64
inserting at specified ColumnLine in Model class, 32-34
inserting into strings with Model class, 33
returning in longest string with Model class, 30-31
returning in longest strings with Model class, 29-30
returning in Model class, 29-30
role in Model class, 28
CharCount property of Model class, overview of, 29-30
CheckBox control in Form1 class for StyledTextArea control, purpose of, 91
CheckOut page in ASP.NET, using with BuyDirect application, 573-575
child documents
constructing menu items in, 128
creating for MDI applications, 121
laying out in MDI applications, 129-130
representing in MDI containers, 165-174
child elements
versus attributes in XML, 102
declaring in XML documents, 105
child_Closed method of XMLEditor class, overview of, 177-178
child_TitleChanged method of XMLEditor class, overview of, 177
class diagram
creating for FTP client application, 376-377
displaying for StyledTextArea control, 21
class structures
number of handles in, 299
representing with ClassRect class, 314-317
classes
instantiating with New keyword, 135
limiting instances of, 135-137
versus structures, 23-24
ClassRect class in UML class diagram editor, overview of, 314-317
ClassRectMemento class in UML class diagram editor, overview of, 317
Clear method
calling for use with XmlViewer component of MDI container, 154
of DataSet class, 457
of DataTable class, 459
of DataTableCollection class, 458
Click event, handling, 12
Clipboard
copying text into, 70
pasting content of, 79-80
Clone method
of DataSet class, 457
of DataTable class, 459
Close method
of Connection object in ADO.NET, 441
of Data Reader classes, 450
of DataView class, 462
code declaration blocks in Global.asax file, explanation of, 517-518
Color objects
color values of, 260
retrieving alpha, red, green, and blue components of, 260
specifying 32 bits of, 260
Color structure of System.Drawing namespace, overview of, 259-260
colors
customizing, 260
representing for line numbers, 65
ColumnChanged event
implementing with StyledTextArea class, 89
raising in Model class, 38
raising in StyledTextArea class, 78
ColumnEventArgs class code example, 25
ColumnLine objects, returning with TranslateIntoCaretLocation method of View class, 56-57
ColumnLine structure in StyledTextArea control, using, 23-24
ColumnName property of DataColumn class, explanation of, 460
Columns property
of DataTable class, 458
of DataTable object, 470
Combine method of System.IO.Path class, example of, 427
comma (,) operator, using with child elements in XML documents, 105
Command design pattern, example of, 126
CommandBuilder objects, updating data with, 481-482
CommandText property of SQL command classes, explanation of, 444
CommandTimeout property of SQL command classes, explanation of, 444
CommandType property of SQL command classes, explanation of, 445
comments in XML documents, identifying, 100
company entity, example of, 107
<compilation> configuration section in <system.web> section, description of, 505
complex types, elements in XML Schema as, 110-111
<configSections> tags, contents of, 502
configuration files in .NET
accessing custom application settings in, 504
areas in, 502-503
<credentials> element used with, 536-537
example of, 503
Connect method
of Form1 class, 401-404
of FTP class, 382, 399
of NETFTP class, 353-354
of Socket class, 335-337
Connected property of FTP class, example of, 380-381
Connection object in ADO.NET
events of, 441
methods of, 440-441
overview of, 439-440
properties of, 440
connection objects, constructing in ADO.NET, 443-444
Connection property of SQL command classes, explanation of, 445
connection strings
building in OLE DB, 441
building in SQL Server, 442-443
connections, closing after using sockets, 337
ConnectionString property of Connection in ADO.NET, explanation of, 440
ConnectionTimeout property of Connection in ADO.NET, explanation of, 440
connectionString value, using with DbObject class, 552
Constraints property of DataTable class, explanation of, 458
ConstructPen method, using with Line class, 325
Contains method of DataTableCollection class, explanation of, 458
ContextMenu class of Menu class, purpose of, 125
Control and UserControl classes, using, 4-5
Control class, overriding Dispose method in, 46
controllers
getting references to, 22
role in MVC paradigm, 18
controls
binding data to, 483
declaring with WithEvents keywords, 12, 14
Invalidate and Update methods used with, 7
MyControl, 16-17
populating programmatically, 486-490
TextBoxes, 14
Copy method of DataSet class, 457
of DataTable class, 459
of StyledTextArea class, 70
"Couldn't connect" message, displaying, 354
Count property of DataView class, explanation of, 462
CreateCommand method of Connection object in ADO.NET, explanation of, 441
CreateMemento method, explanation of, 289-290
CreateNewDataRow method, using with ShoppingCart page in ASP.NET, 572-573
CreateParameter method of SQL command classes, explanation of, 445
<credentials> element, example of, 536-537
current directory contents, populating localDirList control with, 416-418. See also directories, local current directory, remote current directory
currentState variable, role in games, 215
custom events, writing, 16-17
<customErrors> configuration section in <system.web> section
description of, 505
example of, 508
Cut method of StyledTextArea class, implementing, 70
CWD FTP command
description of, 341
example of, 350, 372, 381
sending to FTP servers, 360
|