Any Windows programmer using .NET will need to deal with Windows Forms, also known as WinForms. And use of .NET among Windows programmers continues to grow at a rapid pace. The bestselling book on WinForms 1.X, and by far the best reviewed one, was Chris Sells' book. Chris and his coauthor, Mike Weinhardt, have updated it completely for the just released WinForms 2.0. The first edition was so successful in fact that there will be much less competition for this new edition. It is almost twice as long, reflecting the increased complexity of WinForms 2.0 and the number of changes made. It is also much more timely, coming out just a few months after the release of the product; it should be the first book on WinForms 2.0 tested completely against the final release code, not just the Beta 2 code. Given the amount of changes in WinForms 2.0, people who have already purchased the first edition will want the new edition, not just programmers just starting with .NET. So all in all, this book should sell even better than the very successful first edition did.
Download the Sample Chapter related to this title.
About the Authors xxv
Chapter 1 Hello, Windows Forms 1
Chapter 2 Forms 41
Chapter 3 Dialogs 99
Chapter 4 Layout 137
Chapter 5 Drawing Basics 179
Chapter 6 Drawing Text 231
Chapter 7 Advanced Drawing 265
Chapter 8 Printing 291
Chapter 9 Components 327
Chapter 10 Controls 353
Chapter 11 Design-Time Integration: The Properties Window 399
Chapter 12 Design-Time Integration: Designers and Smart Tags 453
Chapter 13 Resources 505
Chapter 14 Applications 549
Chapter 15 Settings 579
Chapter 16 Data Binding Basics 629
Chapter 17 Applied Data Binding 681
Chapter 18 Multithreaded User Interfaces 737
Chapter 19 ClickOnce Deployment 775
Appendix A What’s New in Windows Forms 2.0 829
Appendix C Delegates and Events 867
Appendix D Component and Control Survey 881
Appendix E Drag and Drop 901
Appendix F Document Management 927
Windows 1.0 programmers had a straightforward life. They had almost no choices about how to do things; either there was an application programming interface (API), or there wasn’t, and most of the time there wasn’t. This meant that developers had to build almost everything by hand. At the time, this wasn’t a problem. All Windows programmers had the same limitations, so everyone’s apps more or less operated with the same limited set of functionality.
A modern Windows developer, on the other hand, is inundated with choices. The invention of the web alone gives us static Hypertext Markup Language (HTML), server-based user interface (UI) interaction via ASP.NET, and client-side UI interaction via ActiveX controls or AJAX (to name a few).1 On the client side, we have native frameworks like Microsoft Foundation Classes (MFC), Active Template Library (ATL), and the next-generation managed framework known as the Windows Presentation Foundation (WPF is part of WinFX, the follow-on to the .NET Framework). How does a developer choose? Where does Windows Forms 2.0, the topic of this book, fit into this pantheon?
Download the Foreword from this book.