P
Padding property of TabControl, 256
PageSetupDialog, 170
PageUnit property of Graphics object, 485
Paint event handler, 469
Paint event of Control object, 80
Paint() method of DataGridColumnStyle class, 383
paintingand debugging, 480
optimization, 470-480
double buffering, 477-480
rendering mode and antialiasing, 475-477
and resizing, 470-471
window portions, 472-475
sessions, 466-469
and refreshing, 467-469
painting programs, 443
PaintValue() methodoverriding for gradient fill thumbnail image, 507-508
of UITypeEditor class, 339
Panel control, 104
property to hide or show, 431
PanelClick event for StatusBar, 252
panels, docking with, 181-183
parent form class in MDI application, 422-424
Parent property of Control object, 71
ParentForm property of ContainerControl class, 154
ParenthesizePropertyName control property attribute, 313
PartialPush property of ToolBarButton object, 245
PasswordChar property of TextBox control, 96
Paste() method of TextBox control, 96
pens, 488-490
PenType property of pen, 489
performancecustom controls and, 276
for painting, 470
PerformClick() methodof Button control, 94
of MenuItem class, 116
PerformSelect() method of MenuItem class, 116
permissionsdatabase table to map levels, 453
hiding or disabling controls based on, 457
PictureBox controls, 97
pictures. See images
pie shapedrawing, 483
filling, 483
pixels, 64
pointers, type-safe function, 27
points of entry, 8
polygondrawing, 483
filling, 483
polymorphism, interfaces to support, 28
pop-up help message, 541
pop-up menus, context menus
Popup eventof ContextMenu class, 114
of MenuItem class, 117
position of controls, 64-66
Position property of BindingContext object, 374
PositionChanged event of Binding object, 376
for master-detail forms, 377-378
PostFilterAttributes method, 328
PostFilterEvents method, 328
PostFilterProperties method, 328
power users, and command-line interface, 3
preferences in wizards, 7
PreferredHeight property of Label control, 90
PreferredWidth property of Label control, 90
PreFilterAttributes method, 328
PreFilterEvents method, 328
PreFilterProperties method, 328
PreProcessMessage() method, 82
presentation layer in three-tier design, 47
problems, 48
458-459
Primary() method of Screen class, 150
PrimaryScreen property of Screen class, 149
print preview, 20
print settings, TreeView control for, 240-241
PrintDialog, 170
PrintPreview control, 418
PrintPreviewDialog, 170
private key, to sign versioned assembly, 265
ProcessCmdKey() method of Control object, 82
ProcessKeyMessage() method of Control object, 82
ProcessKeyPreview() method of Control object, 82
ProcessNodes procedure, 221-222
ProcessTabKey() method of ContainerControl class, 154
progress indicators, 271-276
ProgressBar control, 104
project examplesAgentTryout, 558
AuthenticDragAndDrop, 132-133
ControlMedley project, 63-64
custom controls, 261-268
DrawingShapes, 525
ExtenderProviderHost, 298
FontViewer utility, 70
GDI+ Basics, 473
HelpTest, 543
mouse/keyboard example, 78-79
SimpleChart, 530
TreeViewDragAndDrop, 234
VisualInheritance, 193
ProjectTree class, 235-237
prompts in question-answer user interface, 5
propertiesadding attributes, 311
adding to ancestor form, 196
assignment to extended controls, 300
of controls, 30
for custom controls, filtering, 327-329
of invisible controls, 83
methods to configure default, 314
vs. public class variables, 276
Properties window, thumbnail image of gradient, 507-508
property pages (TabControl), 254-256
PropertyGrid control, 325-326
Protected keyword, 195
ProvideProperty attribute, 300
provider controls, 85-86
public class variables, vs. properties, 276
public key, 266
Pushed property of ToolBarButton object, 245