
C# ПІДРУЧНИКИ / c# / Premier Press - C# Professional Projects
.pdf


900 |
|
Index |
|
|
|
|
|
|
|
C# (continued) |
joining, 98–99 |
|||
arrays |
making threads sleep, 100–2 |
|||
|
methods,70–71 |
priorities, 102–4 |
||
|
types of, 68–70 |
states,102 |
||
attributes |
suspending, 99–100 |
|||
|
classes,85 |
synchronization, 104–6 |
||
|
declaring, 84–85 |
variables,22–23 |
||
|
defaults,86–88 |
casting data types, 22–24 |
||
|
parameters, 86 |
data types,20 |
||
boxing/unboxing, 77–79 |
initializing, 123 |
|||
classes |
modifiers, 19–20 |
|||
|
constructors, 48–49 |
scope, 22 |
||
|
declaring, 44–45 |
types of, 20–22 |
||
|
destructors, 50–51 |
Visual C# .NET, 845 |
||
|
inheritance, 45–47 |
writing, 64–65 |
||
client interoperability, 810–12 |
C++. See Visual C++ .NET |
|||
collections,71 |
CAB (cabinet) project,262–74 |
|||
|
applying, 73–75 |
Cab projects, 583 |
||
|
creating, 72–73 |
Calendar control, 747 |
||
COM+,796–810 |
Call Stack window, 540–41 |
|||
|
accessing, 813–16 |
calling |
||
compiling, 65 |
methods,52 |
|||
enumerations,61–62 |
overloaded methods, 55–57 |
|||
executing, 66 |
unmanaged APIs from .NET, 810 |
|||
expressions,36–37 |
Cancel All button,236 |
|||
|
operators,37–38 |
Cancel button, 236 |
||
indexers,76–77 |
adding functionality, 208 |
|||
interfaces,62–63 |
cancellations,405 |
|||
maintenance, 114–15 |
CancelRes.aspx form,421, 480,514–16 |
|||
methods |
case studies |
|||
|
calling, 52 |
Creative Learning application, 334–35 |
||
|
declaring, 51 |
ERS, 298 |
||
|
modifiers, 54–55 |
maintenance, 114 |
||
|
overloading, 55–56 |
casting data types, 22–24 |
||
|
passing parameters, 52–53 |
catch statements,187–89 |
||
namespaces,56–57 |
CCW (COM callable wrapper),809 |
|||
|
accessing, 58 |
CGI (Common Gateway Interface), 733 |
||
|
aliases, 58–59 |
ChangePassword.aspx form, 469–70, 498 |
||
|
declaring, 57–58 |
CheckBox controls, 161 |
||
preprocessor directives, 79–82 |
checked operators, 38 |
|||
properties |
class libraries,10 |
|||
|
accessors,89–91 |
Class View window, Visual Studio .NET IDE, 884–85 |
||
|
declaring, 88–89 |
classes,850 |
||
|
types of, 91 |
attributes,85 |
||
statements, 28 |
base. See base classes |
|||
|
types of, 28–36 |
C# |
||
strings,26 |
constructors,48–49 |
|||
|
applying, 26–27 |
declaring, 44–45 |
||
|
initializing, 26 |
destructors, 50–51 |
||
structs,59–61 |
inheritance, 44–47 |
|||
threads,94–95 |
Debug, 189–90 |
|||
|
aborting, 97–98 |
indexers,75–77 |
||
|
creating, 95–98 |
MessageQueue class,823–26 |


902 |
|
Index |
|
|
|
|
|
|
Construction form,615–16 |
||
combining, 274. See also Merge Module |
|||||
ComboBox controls,162–63 |
code, 710–11 |
||||
Command control,747 |
creating, 679–80 |
||||
Command window, 541–42 |
constructors, 48–49 |
||||
commands. See also preprocessor directives |
TreeNode class,312 |
||||
Action menu,272 |
ContextMenu control,361–63 |
||||
Add,589 |
continue statements,36. See also statements |
||||
Add Dialog, 289 |
controls |
|
|||
Add menu, Folder, 271 |
ASP.NET |
||||
Debug menu, Start, 638 |
adding, 444–45 |
||||
View menu |
Web forms, 436–42 |
||||
Editor, 281,584 |
Button,155 |
||||
Mobile Explorer Browser option,759 |
Calendar, 747 |
||||
Property Pages, 264 |
Checkbox, 161 |
||||
Commands tab, Customize dialog box,895 |
cmdBack Command, 757–61 |
||||
Compare() method,26 |
cmdFindTime Command,754–57 |
||||
CompareValidator control,749 |
ComboBox,162–63 |
||||
compilers, scripts,734 |
Command,747 |
||||
compiling |
CompareValidator, 749 |
||||
C#,65 |
Construction form,679–80 |
||||
unsafe code, 840–41 |
ContextMenu,361–63 |
||||
Completing the Create Database Diagram Wizard, |
CustomValidator, 750 |
||||
|
464 |
|
DataGrid, 200–5 |
||
Component Selector dialog box,271 |
DateTimePicker, 163–64 |
||||
components |
ErrorProvider, 183–86, 353–56 |
||||
COM |
Form, 740 |
||||
accessing, 813–15 |
forms,151–53 |
||||
building, 801–2 |
GroupBox, 158 |
||||
COM+,813–16 |
Image, 747 |
||||
EventLog, 378–82 |
ImageList,340–43 |
||||
FileSystemWatcher, 357–58 |
Label,156,742–43 |
||||
interfaces, 799 |
Link, 744 |
||||
queued components (COM+),806–7 |
List, 744–45 |
||||
Visual Basic .NET, 852–65 |
ListBox,161–62 |
||||
configuring |
ListView, 303–5 |
||||
ASP.NET, 442–43 |
displaying employee details, 318–27 |
||||
authentication,573–76 |
Main form,669–71 |
||||
error pages, 560–63 |
MainMenu,157–58 |
||||
IIS |
authentication,571–73 |
MobilePage, 741–42 |
|||
SQL authentication mode, 577 |
MonthCalendar, 163 |
||||
user accounts, 490–94 |
NotifyIcon,358–61 |
||||
confirm reservation option, 529–33 |
ObjectList,746 |
||||
confirmation of tickets,405–6 |
Order |
form,674–77 |
|||
ConfirmRes.aspx form,422,481, 518–19 |
Panel,740–41 |
||||
Connect to SQL Ser ver dialog box,455 |
panels,523–24 |
||||
connecting |
PhoneCall, 744 |
||||
CustomerForm forms, 211–23 |
properties,153–54 |
||||
tblJobDetails table, 223–37 |
RadioButton, 158–60 |
||||
Windows forms (ADO.NET), 198–237 |
RangeValidator, 749 |
||||
console applications ( Visual Studio .NET), |
RegularExpressionValidator, 749 |
||||
|
145–47 |
RequiredFieldValidator, 749 |
|||
constants,857 |
Results |
form,672–74 |
|||
construction of applications,137 |
Search |
form,677–79 |

|
|
Index |
|
903 |
|
|
|
|
|
SelectionList,746 |
frmLogon form,767–69 |
|
||
StatusBar, 305–6 |
frmPending form, 771–72 |
|
||
StyleSheet,748 |
frmSelectOption form, 769–71 |
|
||
tabbed pages,343–45 |
frmUnattended form,772–74 |
|
||
TabControl, 337–40 |
interfaces |
|
||
TextBox, 157,743 |
CustomerForm forms, 168–70 |
|
||
binding, 213–14 |
Form1, 165–66 |
|
||
TextView, 743–44 |
JobDetailsForm forms, 172 |
|
||
TreeView, 301–3 |
mobile Web forms,751–54 |
|
||
displaying employee codes, 313–16 |
ReportsForm forms, 170–72 |
|
||
populating, 312–27 |
WorkerForm forms, 167–68 |
|
||
Validation,749–51 |
mobile applications,716–18,736–61 |
|
||
ValidationSummary, 750–51 |
Monthly Balancing and Alignment report, 254–55 |
|
||
Windows,177–78 |
Monthly Customer Visit reports,251–54 |
|
||
Windows Forms Viewer, 246–51 |
Monthly Worker report, 256–57 |
|
||
conventions,naming, 12 |
Order form,674–77 |
|
||
conversion |
queues, 826 |
|
||
boxing/unboxing, 77–79 |
reports,406 |
|
||
explicit data, 23 |
Reports forms, 241–51 |
|
||
implicit,22 |
Results form,672–74 |
|
||
Create database Diagram Wizard,464 |
Search form,677–79 |
|
||
Create statements, 122–23 |
shortcuts,276 |
|
||
Created event,366–67 |
tables, 455–60 |
|
||
adding code, 367–71 |
threads,95–97 |
|
||
CreateRes.aspx form,420, 478–80,508–14,547 |
user accounts, 403–4 |
|
||
creating |
Visual Studio .NET projects,143–45 |
|
||
airline reservation portals,400 |
Web forms, 668 |
|
||
applications |
Main forms,669–71 |
|
||
Visual Basic .NET, 868–75 |
Web methods |
|
||
Visual C# .NET, 865–68 |
AcceptDetails(), 650–53 |
|
||
ASP.NET, 443–52 |
GenerateOrder(), 653–62 |
|
||
clients (Web services), 668–711 |
SampleWebService, 635–37 |
|
||
collections,72–74, 861–62 |
SearchAll(), 645–47 |
|
||
COM objects,811 |
SrchISBN(), 647–50 |
|
||
COM+ applications,812 |
Web portal for a bookstore, 596 |
|
||
Construction form,679–80 |
Web services |
|
||
Crystal Reports Designer tool,241–48 |
ASP.NET, 642–65 |
|
||
customer transaction portal,522–36 |
.NET Framework,632–39 |
|
||
databases,446 |
Windows Forms Viewer controls, 248–51 |
|
||
schemas, 454–64 |
Creative Learning application, 332 |
|
||
deployment projects, 587–89 |
case study, 334–35 |
|
||
DLL, 816–17 |
life cycles, 335–47 |
|
||
dtCancellations table, 459 |
Microsoft Word documents,366–71 |
|
||
dtDepartedFlights table, 459 |
programming logic,350–63 |
|
||
dtFltDetails table, 457 |
XML, 371–94 |
|
||
dtFltStatus table, 458 |
criteria, queries,601 |
|
||
dtFrequentFliers table, 460 |
CRM (Customer Relations Management), 718 |
|
||
dtPassengerDetails table, 460 |
Crystal Reports Designer tool, 240 |
|
||
dtReservations table, 458 |
creating, 241–48 |
|
||
dtUsers table, 457 |
CTS (common type system), 7–8 |
|
||
ERS, 296 |
custom action editor, 289–90,586 |
|
||
Form1, 198–99 |
customer details,storing, 702–3 |
|
||
forms (MobileCallStatus application), 764–74 |
Customer Management application,debugging, 190–95 |


|
|
|
Index |
905 |
Visual Studio .NET, 261–62 |
|
|
|
|
Import Registry File, 283 |
|
|||
CAB project, 262–68 |
New Breakpoint,538 |
|
||
Merge Module project,274–76 |
Options dialog, 892 |
|
||
Setup project, 268–74 |
Outputs, 267 |
|
||
Setup wizard, 276–79 |
Register User, 288 |
|
||
deployment scenarios, 582–86 |
Select Backup Destination,554 |
|
||
derived classes, 46 |
SQL Server Backup, 554 |
|
||
design |
|
directives. See also commands |
|
|
airline reservation portals,407–27 |
@ Page, 767 |
|
||
application forms,465–81 |
preprocessor, 79–82 |
|
||
databases,117, 127–29,408–15,603–8 |
directories |
|
||
forms, 522–33 |
security, 425–27 |
|
||
high-level |
|
UDDI,628 |
|
|
Creative Learning application, 336–45 |
displaying |
|
||
ERS, 299–308 |
data in XML documents, 373 |
|
||
high-level design, 117–23 |
documents,385–93 |
|
||
low-level, 132–37 |
employee |
|
||
Creative Learning application, 345–47 |
codes,313–16 |
|
||
ERS,308 |
ListView control, 318–27 |
|
||
mobile applications, 720–26 |
entries,383–85 |
|
||
Mobile Internet Designer, 730 |
error messages,377–78 |
|
||
MobileTimeRetriever application,739–51 |
notification icons, 367–68 |
|
||
Web forms, 415–25,611–12 |
Dispose() method, 51 |
|
||
Construction form,615–16 |
DispResultForm form,683–93 |
|
||
Main form,612 |
DLC (development life cycle),719 |
|
||
Orders form,613–14 |
DLL (Dynamic Link Library), 6,621 |
|
||
Results |
form,613 |
creating, 816–17 |
|
|
Search |
form,614–15 |
do-while loop, 34. See also statements |
|
|
designer view, Web services,631 |
docking windows,891 |
|
||
destructors,50–51 |
DOCTYPE declarations,374–77 |
|
||
details panes, file system editors, 279–81 |
documents |
|
||
details,storing, 702–3 |
Creative Learning application, 366–71 |
|
||
developing |
|
extracting data,368–71 |
|
|
COM+ applications,812–13 |
Summary.xml, 385–93 |
|
||
Web services, 640–65 |
WML,735 |
|
||
dialog boxes |
|
XML |
|
|
Add Files,280 |
adding code, 374 |
|
||
Add New Project,144 |
displaying data,373 |
|
||
Add Project Output Group, 266 |
domains, 13 |
|
||
adding, 288–89 |
dtCancellations table, 412 |
|
||
AddProjectOutputGroup, 589 |
creating, 459 |
|
||
Authentication Methods,572 |
DtCatalog table, 605 |
|
||
Component Selector, 271 |
DTD (Document Type Definition),374–77, |
|
||
Connect to SQL Ser ver, 455 |
735 |
|
|
|
Crystal Report Gallery, 242 |
dtDepartedFlights table, 411 |
|
||
Customize, 894–95 |
creating, 459 |
|
||
customizing, 287 |
dtFltDetails table, 409–10 |
|
||
DataGrid1 Properties,673 |
creating, 457 |
|
||
Default Web Site Properties, 564 |
dtFltStatus table, 412–13 |
|
||
Execute Package, 557 |
creating, 458 |
|
||
Extended Logging Properties,565 |
dtFrequentFliers table, 414 |
|
||
Generate |
Dataset,644 |
creating, 460 |
|
|
Image Collection Editor, 341 |
DTOrders table, 605 |
|


Index 907
Web services, 631 |
design,522–33 |
XML schemas,306–8 |
DispResultForm form,683–93 |
FileSystemWatcher component,357–58 |
ERS, 299 |
Finalize() method, 50–51 |
EventLog components, 379–82 |
flight details,adding, 404 |
FreqFl.aspx,419, 506–8 |
flights,adding, 545 |
frmLogon,721, 767–69 |
flowcharts |
adding code, 775–79 |
frmLogon module, 724 |
frmPending, 722, 771–72 |
frmPending module, 725 |
adding code, 782–85,785 |
frmSelectOption module, 725 |
frmSelectOption, 722, 769–71 |
frmUnattended module, 726 |
adding code, 779–82 |
Web forms, 616–18 |
frmUnattended, 723,772–74 |
Folder command (Add menu),271 |
adding code, 786–87, 788 |
Folder option, 271 |
line-of-business executives,420–22 |
folders, Application, 271 |
CancelRes.aspx, 480 |
Fonts and Colors Page, 893–94 |
coding, 508–19 |
for loop, 33. See also statements |
ConfirmRes.aspx,481 |
foreach loop, 33–34. See also statements |
CreateRes.aspx,478–80 |
foreign keys,123–24 |
QueryStat.aspx, 480–81 |
form load method,351–52 |
login,416 |
Form control,740 |
logoff.aspx, 468,489 |
Form1, 130 |
Main form |
creating, 198–99 |
adding code, 680–83 |
interfaces, 165–66 |
creating, 669–71 |
Format() method,26 |
ManageDatabases.aspx,424 |
formatting |
updating, 495–97 |
collections,72–73 |
ManageUsers.aspx, 423 |
Creative Learning application, 337 |
mobile, 737–39 |
ERS,299 |
MobileCallStatus application,764–74 |
user accounts, 490–94 |
network administrators,423–24 |
formLogon form,721 |
coding, 490–99 |
forms |
ManageDatabases.aspx,472–73 |
access,498–99 |
ManageUsers.aspx,470–72 |
AddFl.aspx,417,500–3 |
Order form |
applications, 424–25 |
creating, 674–77 |
design,465–81 |
adding code, 697–700 |
authentication,570 |
QueryStat.aspx, 421–22,516–17 |
business managers,417–19 |
Reports.aspx,418–19, 504–6 |
AddFl.aspx,473–74 |
RequestID.aspx, 417–18,503 |
coding, 500–8 |
Results form,672–74 |
FreqFl.aspx,477 |
Search form |
Reports.aspx,475–77 |
adding code, 693–97 |
RequestID.aspx,474–75 |
creating, 677–79 |
CancelRes.aspx, 421,514–16 |
validating, 182–83 |
ChangePassword.aspx, 469–70,498 |
Web forms |
ConfirmRes.aspx,422,518–19 |
ASP.NET, 434–36 |
Construction form |
design, 415–25 |
adding code, 710–11 |
Windows |
creating, 679–80 |
adding, 151–53 |
CreateRes.aspc,420,508–14,547 |
connecting ADO.NET, 198–237 |
Creative Learning application, 337 |
maintenance, 130–32 |
default.aspx,466–67 |
validating, 176–86 |
authentication, 484–89 |
Forms authentication, 574 |