Windows Forms in Action
Second Edition of Windows Forms Programming with C#
Erik Brown
  • April 2006
  • ISBN 9781932394658
  • 950 pages

Each chapter is worth the price of the whole book!

Berndt Hamboeck, Senior Architect and Team Leader, United Nations

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.

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

Table of Contents detailed table of contents

preface

preface to the first edition

acknowledgments

about this book

what’s new in 2.0

about the cover illustration

Part I Hello Windows Forms

1. Getting started with Windows Forms

1.1. Programming in C#

1.2. Windows Forms controls

1.3. Loading files

1.4. Recap

2. Getting started with Visual Studio

2.1. Programming with Visual Studio

2.2. Windows Forms controls

2.3. Loading files

2.4. Recap

Part II Basic Windows Forms

3. Menus

3.1. Controls and containers

3.2. The nature of menus

3.3. Menu bars

3.4. Menu handling

3.5. Recap

4. Context menu and status strips

4.1. Context menu strips

4.2. Drop-down events and event arguments

4.3. Status strips

4.4. Recap

5. Reusable libraries

5.1. Class libraries

5.2. The object class

5.3. Interfaces

5.4. Generics

5.5. Recap

6. Files and common dialog boxes

6.1. Standard menus

6.2. Common file dialog boxes

6.3. Streams and writers

6.4. Album management

6.5. Recap

7. Dialog boxes

7.1. Message boxes

7.2. The Form.Close method

7.3. Forms and panels

7.4. Modeless dialog boxes

7.5. Recap

8. Text boxes

8.1. Form inheritance

8.2. Standard text boxes

8.3. Masked text boxes

8.4. Recap

9. Buttons

9.1. Push buttons

9.2. Radio buttons

9.3. Check box buttons

9.4. Tooltips and error providers

9.5. Recap

10. Handling user input and encryption

10.1. Keyboard events

10.2. Mouse events

10.3. Encryption

10.5. Recap

11. List boxes

11.1. List controls

11.2. Simple list boxes

11.3. Multiselection list boxes

11.4. Recap

12. Combo boxes

12.1. Standard combo boxes

12.2. Editable combo boxes

12.3. Automatic completion

12.4. Item formatting

12.5. Recap

13. Tab controls and pages

13.1. Tab control fundamentals

13.2. Tab page fundamentals

13.3. Owner-drawn tabs

13.4. Owner-drawn list boxes

13.5. Recap

14. Dates, calendars, and progress bars

14.1. Date and time display

14.2. Date and time formats

14.3. Calendars

14.4. Progress bars

14.5. Recap

15. Bells and whistles

15.1. Images and cursors

15.2. Embedded resources and sounds

15.3. Track bars

15.4. Timers

15.5. Recap

16. Tool strips

16.1. Tool strip fundamentals

16.2. Tool strip item fundamentals

16.3. Image lists

16.4. Tool strip containers

16.5. Specialized button items

16.6. Recap

Part III Advanced Windows Forms

17. Custom controls

17.1. Extending existing controls

17.2. Control-based classes

17.3. The ScrollablePictureBox class

17.4. User controls

17.5. Custom controls in Visual Studio

17.6. Recap

18. Explorer interfaces and tree views

18.1. Interface styles

18.2. Explorer interfaces in .NET

18.3. Tree nodes

18.4. Custom tree views

18.5. Recap

19. List views

19.1. List view fundamentals

19.2. List view columns

19.3. List view features

19.4. Virtual Items

19.5. Recap

20. Multiple document interfaces

20.1. MDI forms

20.2. Merged menus

20.3. MDI children

20.4. MDI child window management

20.5. Recap

21. Data binding

21.1. Data grid views

21.2. Columns and rows

21.3. Cells

21.4. Recap

22. Two-way binding and binding sources

22.1. Binding lists

22.2. Editable objects

22.3. Simple data binding

22.4. Recap

23. Odds and ends .NET

23.1. Printing

23.2. Drag-and-drop

23.3. Web browsing

23.4. Application settings

23.5. Deployment

23.6. Recap

What's inside

  • Practical and real-world
  • Examples presented in unique tabular form
  • Covers application integration and code management
  • Expands and updates the widely acclaimed First Edition

About the author

A mathematician by training, Erik Brown has been working with code for over 17 years, as a developer, architect, consultant, and manager. He is a veteran of three successful start up companies and currently works as a program manager at Unisys Corporation. Erik lives in northern Virginia with his wife and two daughters.


Buy
combo $49.95 pBook + PDF
eBook $39.99 PDF only

FREE domestic shipping on three or more pBooks

Excellent for developers new to Windows Forms.

Dave Corun, Director of Microsoft Technologies, Catalyst IT Services

Precisely what I needed to get up to speed quickly. Engaging.

Joe Litton, Enterprise Application Developer, MCP, SCJP, PCLP

Right on Target.

Jack Herrington, Author and Software Engineer