Windows Forms in Action
Table of 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