Windows Forms 2.0 Programming / Edition 2

Windows Forms 2.0 Programming / Edition 2

4.0 1
by Chris Sells, Michael Weinhardt, Mike Weinhardt

ISBN-10: 0321267966

ISBN-13: 9780321267962

Pub. Date: 05/05/2006

Publisher: Addison-Wesley

“Some books are different-the content can't be Googled from the Internet, the authors have real-life experiences to share, the code can be used in real-world projects. This is one of those books.”

–Neal Myrddin, Independent Developer

“Chris and Michael nail the soul of Windows Forms 2.0. This book provides an

…  See more details below


“Some books are different-the content can't be Googled from the Internet, the authors have real-life experiences to share, the code can be used in real-world projects. This is one of those books.”

–Neal Myrddin, Independent Developer

“Chris and Michael nail the soul of Windows Forms 2.0. This book provides an insightful view into the design of Windows Forms and the integration of new 2.0 features. It is just as applicable for the first-time Windows Forms programmer as the seasoned line of business developer. The ‘What’s New in 2.0’ appendix is worth the price of admission alone.”

–Mike Harsh, Windows Forms Program Manager, Microsoft, Inc.

“This book takes an amazingly broad and deep technology, and breaks it into manageable pieces that are easily consumed. You cannot survive building a complex WinForms application without this book.”

–Ryan Dorrell, Chief Technology Officer, AgileThought

Windows Forms 2.0 Programming offers something for every .NET developer. Experienced developers will appreciate the in-depth coverage of new 2.0 features, including the most comprehensive coverage of ClickOnce deployment, multithreading, and the new designer integration found anywhere. Developers new to Winforms programming will appreciate the coverage of the fundamentals all Winforms developers need to know. Whether you’re an experienced WinForms developer or just beginning, you need this book.”

–Fritz Onion, cofounder of Pluralsight, author of Essential ASP.NET, and ASP.NET MVP

“I don’t want just a description of the WinForms widgets. I can get that online or from other books. What I want is a roadmap for pitfalls to avoid, and innovative solutions for common problems. That is where this book shines. All of us who found the first edition of this book to be an indispensible part of our reference library will appreciate this updated edition that describes WinForms 2.0.”

–Johan Ericsson, Software Engineer, Agilent Technologies

“The books Chris Sells writes are always insightful and this newest addition is no different. This book in particular is for those who want to understand not just the flashy surface of Windows Forms 2.0, but also how it fits into the .NET environment. Readers will have this book at their desks, not stuck on their shelves, for quite a long time.”

–Yoshimatsu Fumiaki, Software Engineer based in Tokyo Japan

“Chris and Mike have done an excellent job presenting the information you need to be successful with Windows Forms.”

–Jessica Fosler, Dev Tech Lead, Microsoft

“This book is the ‘must have’ teaching and reference book for WinForms 2.0.”

–Jim Rittenhouse, Senior Software Engineer, Siemens

Windows Forms 2.0 Programming is the successor to the highly praised Windows Forms Programming in C#. This edition has been significantly updated to amalgamate the sheer mass of new and improved support that is encompassed by Windows Forms 2.0, the .NET Framework 2.0, and Visual Studio 2005. This is the one book developers need in order to learn how to build and deploy leading-edge Windows Forms 2.0 applications.

Readers will gain a deep understanding from Sells and Weinhardt’s practical, well-balanced approach to the subject and clear code samples.

• Windows Forms 2.0 fundamentals, including forms, dialogs, data validation, help, controls, components, and rendering

• Static and dynamic layout, snap lines, HTML-style flow and table layout, automatic resizing, and automatic cross-DPI scaling

• Office 2003-style tool strip control coverage, including dynamic layout and custom rendering

• Design-time integration with the Visual Studio 2005 Properties Window and Smart Tags

• Resource management, strongly typed resources, and internationalization considerations

• Strongly typed application and user settings

• SDI, MDI, Single Instancing, Multiple-Instance SDI, Single-Instance MDI, database-centric, and document-centric applications

• Databinding data-source management, drag-and-drop databinding, the BindingSource, the BindingNavigator, and applied databinding

• Events, delegates, multithreaded UIs, long-running operations, simplified multithreading with the BackgroundWorker, and asynchronous web service calls

• ClickOnce application development publishing, shell integration, and partial trust security

• Best practices for developers transitioning from Windows Forms 1.0 and MFC

Read More

Product Details

Publication date:
Microsoft Windows Development Series
Edition description:
Product dimensions:
7.00(w) x 9.10(h) x 2.20(d)

Table of Contents

About the Authors xxv

Foreword xxvii

Preface xxxi

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

Bibliography 957

Index 961

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network


Most Helpful Customer Reviews

See all customer reviews >

Windows Forms 2.0 Programming 4 out of 5 based on 0 ratings. 1 reviews.
Guest More than 1 year ago
Microsoft is well renowned for usually doggedly improving its products. This book by Sells and Weinhardt shows that trend in action, with its description of MS Windows Forms 2.0. It describes major improvements over version 1. The book is all about UI programming in a Microsoft operating system. The code examples are written in C# and the text shows a close interaction between Forms programming and the .NET framework. What is also interesting is the authors' remark that Forms 2 focuses on writing code for client applications, and not necessarily for web-based applications. After all, the very name .NET was chosen in the expectation that the latter would be what a lot of programmers would want. It is hard to tell what an arbitrary reader of this book might be looking for. But, as a guide, there is now a consistency possible in the look and feel with that of MS Office. The authors allude to a considerable demand in the marketplace for this. And given Microsoft's dominance with Office, this should be no surprise. Although one should add that you are not restricted to your applications having an Office-like look and feel. There is considerable leeway in customising, with code showing how this is done. Also, if some of you have written HTML pages, or web applications that use JavaScript or JScript, then Forms gives you a far richer set of widgets. It can make writing static HTML or HTML/JScript seem very restrictive. The layout of the book and its content should not present any problems if you have done some previous graphics programming (and not necessarily restricted to Microsoft environments). Most of the chapters deal with topics that are now common to any major graphics package. So there is a chapter on drawing basic entities like lines and curves, and filling areas. Another chapter on drawing text. Another on laying out widgets inside a Form (window). Obviously, the syntax is specific to Forms. But not the concepts, and if you already have those, everything else will be straightforward.