search for books and compare prices
Tables of Contents for Developing C# Windows Software
Chapter/Section Title
Page #
Page Count
Introduction
1
1
Who is this book for?
1
1
What does this book cover?
1
1
What do you need to use this book?
2
1
Conventions
2
1
Customer Support
3
4
How to Download the Sample Code for the Book
3
1
Errata
4
1
E-mail Support
4
1
p2p.wrox.com
5
1
Why this System Offers the Best Support
5
2
Basic Windows Programming
7
20
Windows and Forms
7
2
What is a Windows Form?
8
1
Controls
8
1
Menus and Toolbars
8
1
The System.Windows.Forms Namespace
8
1
A Brief Tour of the Visual Studio .NET IDE
9
11
Solutions and Projects
9
3
The Toolbox and Properties Windows
12
3
The Dynamic Help Window
15
1
The Class View
16
2
The Object Browser
18
1
The Code Editor
18
1
Auto-Generated Code
19
1
Handling Events
20
5
Using Message Boxes
21
3
Using IntelliSense
24
1
Summary
25
2
Simple User Interface Controls
27
24
User Interface Design Considerations
28
1
A Tour of Simple User Interface Controls
29
20
PictureBoxes
29
1
Labels
30
1
Textbox Controls
30
3
List Controls
33
1
ListBoxes
33
1
ComboBoxes
34
4
Button-Based Controls
38
1
Buttons
38
4
CheckBoxes and GroupBoxes
42
5
RadioButtons
47
1
Bar Controls
48
1
Summary
49
2
Advanced User Interface Controls
51
34
Tour of Advanced Controls
51
1
Overview
52
28
TabControl
52
7
Adding Tabs to a TabControl
59
3
TreeViews and ListViews
62
9
Splitter
71
2
DateTimePicker
73
4
MonthCalendar
77
3
Controlling the Appearance of the Cursor
80
3
Summary
83
2
Menus and Toolbars
85
24
Menu Controls and Classes
86
11
Creating Main Menus
86
3
Navigating a Menu Using the Keyboard
89
3
Main Menu Conventions
92
3
Creating Context Menus
95
2
Toolbar Controls and Classes
97
10
Creating Toolbars
98
1
Adding Toolbar Button Images
99
2
Handling Toolbar Click Events
101
2
Showing and Hiding Toolbars
103
4
Summary
107
2
Using Graphics
109
44
The Device Context
110
1
The Graphics Class
110
2
Using the Graphics Class
110
1
Methods of the Graphics Class
111
1
Specifying Position, Size, and Color
112
4
Position and Size
112
1
The Rectangle Structure
113
1
Colors
114
1
Internal Color Representation
114
1
Creating Color Objects
115
1
Drawing Lines and Shapes
116
16
The Pen Class
116
1
Properties of the Pen Class
116
1
Draw Methods
117
1
Lines and Curves
117
1
Rectangles
118
1
Bezier Curves
118
1
Ellipses and Arcs
119
1
Piecharts
119
1
Other Draw and Fill Methods
119
9
Drawing on Demand
128
1
Raising and Responding to Paint Events
128
4
Using the ClipRectangle During Repaint
132
1
Color Fills
132
7
Brush Tools
132
1
SolidBrush
132
1
HatchBrush
133
1
TextureBrush
133
1
LinearGradientBrush
133
1
PathGradientBrush
134
1
Fill Methods
134
5
Using Text
139
7
Fonts
139
1
Properties of the Font Class
140
1
Creating a Font Object
140
1
Drawing Text
141
5
Images
146
4
Bitmap File Formats
147
1
Loading and Saving Bitmaps
147
1
Displaying Images
147
3
Summary
150
3
Printing
153
34
The System.Drawing.Printing Namespace
153
3
Printing Images
156
17
Changing Page Settings
163
3
Print Dialogs
166
2
Preserving Aspect Ratio
168
5
Printing Multiple Pages
173
12
Pagination
173
9
Adding a Header
182
3
Summary
185
2
Linking to a Database
187
32
Database Connectivity in .NET
187
2
Connecting to a Database
189
7
Loading and Displaying Data
196
7
Using DataGrids, DataSets and DataAdapters
197
6
Modifying the Database
203
4
Relationships Between Tables
207
8
Using Custom Queries
215
2
Summary
217
2
File and Registry Operations
219
46
Reading and Writing Files
220
16
Streams
220
1
Stream Classes
220
1
The FileStream Class
221
3
Reading and Writing Text
224
1
Using StreamReader Objects
225
5
Using StreamWriter Objects
230
6
Accessing Directory Information
236
7
The Directorylnfo Class
237
1
The Filelnfo Class
238
5
Serializing Objects
243
9
XML Serialization
244
1
Creating an XmlSerializer
244
3
Controlling XML Serialization
247
5
Manipulating the Registry
252
10
The Registry's Structure
253
1
Classes for Working with the Registry
254
1
The Registry Class
255
1
The RegistryKey Class
255
1
Simple Registry Operations
256
6
Summary
262
3
Using the Document/View Model
265
32
What is the Document/View Model?
266
2
What About MDI?
266
2
Creating a Document/View Application
268
27
Managing Multiple Document Windows
268
5
Adding File Viewing Functionality
273
6
Adding File Save Functionality
279
10
Navigating Between Windows
289
6
Summary
295
2
Providing Help
297
30
Why Do Users Need a Help System?
298
1
Design Guidelines for Creating Help Systems
298
2
Presentation
298
1
Navigation
299
1
Content
299
1
Writing Conventions and Standards
299
1
Usability
299
1
Help Authoring Systems
300
10
WinHelp
300
1
HTML Help
300
1
WebHelp
301
1
JavaHelp
301
1
OracleHelp
301
1
A Closer Look at HTML Help
301
1
The HTML Help User Interface
302
8
Help Support Provided by .NET
310
14
The Help Class
310
1
The HelpProvider Class
311
1
The HelpNavigator Enumeration
312
7
Displaying Pop-Up Help via a Help Button
319
2
Displaying Pop-Up Help as a String
321
2
Providing Control Help Using a Tooltip
323
1
Summary
324
3
Deploying Windows Applications
327
32
Deployment and Setup
328
1
Deployment in .NET
328
28
Installation Via XCOPY Deployment
329
1
Using Visual Studio .NET Installer for Deployment
329
1
Windows Installer Architecture
329
1
Visual Studio .NET Installer
330
1
XCOPY or Windows Installer?
331
1
Deployment Project Templates in Visual Studio .NET
331
3
Deployment Project Properties
334
2
Using Setup Editors
336
1
File System Editor
336
3
Adding Items to Special Folders
339
2
Registry Editor
341
1
File Types Editor
341
1
Custom Actions Editor
342
1
Launch Conditions Editor
342
2
User Interface Editor
344
4
Building the Installer Package
348
1
Installing the Application
349
6
Uninstalling and Repairing the Application
355
1
Summary
356
3
Index
359