|
PageSettings class (Printing namespace), 374
PageSetupDialog class (System::Windows::Forms), 328
Paint events, 365–368
Palette property (Bitmap), 372
Panel class (System::Windows::Forms), 281, 289, 330
panels on status bars, 354
ParamArrayAttribute class, 532
parameters, function, 47, 50
parent classes, 17. See also inheritance
Parent property (DirectoryInfo), 388
parentheses ( ), calling functions, 53
ParentNode property (XmlDocument), 425
ParentNode property (XmlNode), 427
parsing XML, 407–418
PasswordChar property (TextBox), 312
Paste method (TextBoxBase), 311
Path class (System::Diagnostics), 279
Path class (System::IO), 380
PDF, transforming XML into, 436
Peek method (TextReader), 385
PeekChar method (BinaryWriter), 397
Pen, Pens classes (System::Drawing), 358, 360–361
percent (%)
% (modulus) operator, 38, 169
%= (modulus assignment) operator, 38
performance. See also garbage collection
memory leakage, 119, 215
reference types, 22
PictureBox class (System::Windows::Forms), 330
_pin keyword (managed C++), 512
pinning pointers, 512
PInvoke mechanism, 517–525
pipe (|)
| (OR) bitwise operator, 40, 169
|| (OR) logical operator, 39, 169
PixelFormat property (Bitmap), 372
placing controls on forms, 297–298
plus sign (+)
+ (addition) operator, 37, 168, 169
+= (addition assignment) operator, 38
+= (event subscription) operator, 261
++ (increment) operator, 38, 169, 179–180
Point, PointF classes (System::Drawing), 358
pointers, 32
arrays vs., 210
defining object relationships, 107–113
function pointers, 250
pinning (unmanaged code), 512
polymorphism, 18, 129, 140–144
POST commands (HTTP), 473
#pragma once directive, 132
precedence, operator, 41, 167
predefined attributes, 530–536
PreferredHeight property
Label class, 301
ListBox class, 306
TextBoxBase class, 311
PreferredWidth property (Label), 301
Prefix property
XmlNode class, 427
XmlTextReader class, 408
XPathNavigator class, 437
PrependChild method (XmlNode), 428
PreserveSigfield (DllImportAttribute), 521
PreserveWhitespace property (XmlDocument), 425
PreviousSibling property (XmlNode), 427
PrintController property (PrintDocument), 374
PrintDialog class (System::Windows::Forms), 328, 375
PrintDocument class (System::Drawing::Printing), 374
PrinterSettings class (Printing namespace), 374
printing functionality in forms, 373–376
Printing namespace (System::Drawing), 280, 358, 373–376
private (access modifier), 21, 133, 135
ProcessingInstruction node type, 409
programs, 8–13
ProgressBar class (System::Windows::Forms), 289, 330
projects, 9
adding source files, 11
ATL Server project settings, 494
properties, 233–247
attributes, 537
errors in, 236
forms, 291–296
indexed properties, 234, 239, 245–247
read-only, write-only, 237–238
scalar properties, 234, 235–238
Property Editor (Windows Forms), 294
__property keyword, 235
PropertyGrid class (System::Windows::Forms), 330
protected (access modifier), 135
Protocols namespace (System::Web::Services), 476
prototype functions, declaring, 46–49
proxy code for Web services, 484
public (access modifier), 21, 133, 135
Public member (TypeAttributes), 544
publishing events. See events, form
pull and push models, 407
pure virtual functions, 141, 144–145
|