|
Pac-Man, background of, 188
page setup, code for, 150-152
Page Setup dialog box, displaying, 145
Page_Load event handler
and AddToCart page in BuyDirect application, 565-566
and ProductDetails page in BuyDirect application, 564
and Search page in BuyDirect application, 560-562
and ShoppingCart page in BuyDirect application, 568-570
Page_Load method, using with DataSet objects, 465, 467
PagerStyle property, using with DataGrid controls, 500
<pages> configuration section in <system.web> section
description of, 505
example of, 510-511
PageUnit property of Graphics class, explanation of, 267
PaintSelectionArea method of View class, calling, 49-50, 51-54
Panel control, role in StyledTextArea class, 60
panel_Resize method of StyledTextArea class, implementing, 79
parameters, modifying data in DataSet objects with, 480-481
Parameters property of SQL command classes, explanation of, 445
parent-child relationship, setting in MDI applications, 122-124
parent directory, obtaining in FTP client application, 399
parent forms, MDI containers as, 121
PASS FTP command
description of, 340
example of, 346
PassiveData method of NETFTP class
example of, 365
overview of, 354-355
PassiveDataConnection method, explanation of, 387, 390
passport authentication, overview of, 538-539
passwordTextBox control, using with LoginForm class, 378
Paste method of StyledTextArea class, implementing, 79-80
PASV FTP command
description of, 341
sending to connected FTP servers, 354-355
#PCDATA notation in XML documents, meaning of, 103
pen caps, overview of, 268-271
Pen class of System.Drawing namespace, overview of, 261
Pen objects, using ConstructPen methods with, 325
percent (%) sign used with MoveCat method, meaning of, 249
persisting objects. See also objects
problems encountered with, 289
storing, 285
pipe (|) operator, using with child elements in XML documents, 105
pixels
obtaining x coordinate of carets in, 47
returning for strings, 48
plus sign (+)
as operator for child elements in XML documents, 105
using with @ Application directive in Global.asax file, 516
using with public external DTDs, 106
Point object, using with Rect class in UML class diagram editor, 309-310
Point structure in System.Drawing namespace, constructing, 257
points and lines, finding distance between, 304
polymorphism, role in Doggie computer game, 230
PopulateDataSet method, using with BuyDirect application, 578
PORT FTP command, description of, 341
port numbers
defaults for, 336
obtaining when using PassiveData method of NETFTP class, 355
ports, explanation of, 334
Prefix property of DataSet class, explanation of, 456
Prepare method of SQL command classes, explanation of, 445
PrimaryKey property of DataTable class, explanation of, 459
Print method
of Document class, 168
of TextPrinter class, 164
print preview, performing, 149-152
PrintDialog class, using, 143-144
PrintDocument class, explanation of, 138
Printer button, enabling in Page Setup dialog box, 148
printer settings, changing, 147-149
printing
overview of, 138-143
page setup for, 144-147
printing template
adding code to, 141
code for, 138-139
displaying, 140
printing text, 164-165
PrintPage event
creating event handler for, 138
triggering, 164
PrintPreview method
of Document class, 168
of TextPrinter class, 164
private external DTDs
explanation of, 105
referencing, 106
ProcessDialogKey method of StyledTextArea class
implementing, 80-82
purpose of, 10-11
processed instructions in XML documents, explanation of, 101
<processModel> configuration section in <system.web> section
description of, 505
example of, 511-512
ProcessPurchase event handler, using with CheckOut page in ASP.NET, 575
ProductDetails page in ASP.NET, using with BuyDirect application, 563-565
Products DataTable object, creating, 465
Products table
adding DataRow objects to, 466
in BuyDirect application, 545
deleting records from, 478-479
deleting records in, 449
displaying data in, 467-469
inserting records into, 448, 472-474
updating records in, 448-449
updating values of rows in, 476-477
progress bar, initializing prior to file transfer, 416
prologs in XML documents, purpose of, 100
properties. See individual properties
PropertyForm class in UML class diagram editor, overview of, 329-330
ProtocolType enumeration, using with Socket objects, 335
Provider property of OleDbConnection class, purpose of, 440
public external DTDs, explanation of, 105
publish-subscribe pattern. See Observer design pattern
PWD FTP command
description of, 342
example of, 351, 372
sending to connected FTP servers, 362-363
Pythagoras's Theorem, explanation of, 303-305
|