|
Windows Forms In Action
HIGHLIGHT The first edition was widely acclaimed as perhaps the best book on Windows desktop programming with the .NET Framework. This expanded and renamed second edition is updated to .NET 2.0, extender providers, cryptographic classes, and application deployment. A fully functional Windows Forms application is built in the book, presented using
innovative tables that visually cluster the actions required. DESCRIPTION Using many examples all on a common theme, this second edition of Windows Forms Programming with C# presents Windows application development in a step-by-step, easy to follow format. Written for beginner and intermediate programmers eager to get their hands dirty, the text covers fundamentals like labels, buttons, and tool strips, as well as advanced concepts like owner-drawn lists, custom controls, and two-way data binding. The book is a tutorial, leading the reader through Windows application development using C# and Visual Studio .NET. It illustrates how the classes in the .NET Framework interact in a fully functional application. Material added for the second edition includes coverage of the .NET 2.0 Framework, extender providers, cryptographic classes, and application deployment. KEY SELLING POINTS * Practical and real-world. * Examples presented in unique tabular form. * Covers application integration and code management * Expands and updates an admired First Edition.
Contents:
preface
preface to the first edition
acknowledgments
about this book
what's new in 2.0
about the cover illustration
I Hello Windows Forms
1 Getting started with Windows Forms
Programming in C#
Windows Forms controls
Loading files
Recap
2 Getting started with Visual Studio
Programming with Visual Studio
Windows Forms controls
Loading files
Recap
II Basic Windows Forms
3 Menus
Controls and containers
The nature of menus
Menu bars
Menu handling
Recap
4 Context menu and status strips
Context menu strips
Drop-down events and event arguments
Status strips
Recap
5 Reusable libraries
Class libraries
The object class
Interfaces
Generics
Recap
6 Files and common dialog boxes
Standard menus
Common file dialog boxes
Streams and writers
Album management
Recap
7 Dialog boxes
Message boxes
The Form.Close method
Forms and panels
Modeless dialog boxes
Recap
8 Text boxes
Form inheritance
Standard text boxes
Masked text boxes
Recap
9 Buttons
Push buttons
Radio buttons
Check box buttons
Tooltips and error providers
Recap
10 Handling user input and encryption
Keyboard events
Mouse events
Encryption
Link labels
Recap
11 List boxes
List controls
Simple list boxes
Multiselection list boxes
Recap
12 Combo boxes
Standard combo boxes
Editable combo boxes
Automatic completion
Item formatting
Recap
13 Tab controls and pages
Tab control fundamentals
Tab page fundamentals
Owner-drawn tabs
Owner-drawn list boxes
Recap
14 Dates, calendars, and progress bars
Date and time display
Date and time formats
Calendars
Progress bars
Recap
15 Bells and whistles
Images and cursors
Embedded resources and sounds
Track bars
Timers
Recap
16 Tool strips
Tool strip fundamentals
Tool strip item fundamentals
Image lists
Tool strip containers
Specialized button items
Recap
III Advanced Windows Forms
17 Custom controls
Extending existing controls
Control-based classes
The ScrollablePictureBox class
User controls
Custom controls in Visual Studio
Recap
18 Explorer interfaces and tree views
Interface styles
Explorer interfaces in .NET
Tree nodes
Custom tree views
Recap
19 List views
List view fundamentals
List view columns
List view features
Virtual Items
Recap
20 Multiple document interfaces
MDI forms
Merged menus
MDI children
MDI child window management
Recap
21 Data binding
Data grid views
Columns and rows
Cells
Recap
22 Two-way binding and binding sources
Binding lists
Editable objects
Simple data binding
Recap
23 Odds and ends .NET
Printing
Drag-and-drop
Web browsing
Application settings
Deployment
Recap
appendix A C# primer
appendix B .NET namespaces
appendix C Visual index
appendix D For more information
bibliography
index
|