Windows Forms Programming in C#

Windows Forms Programming in C#

Authors: Chris Sells

Pages: 448

Publisher: Addison Wesley

ISBN13: 9780321116208

"I think this book does a great job of hitting a huge number of features—sometimes I forget how much there is to WinForms!"
—Chris Anderson, Software Architect, Microsoft Windows Forms team

Programming Windows Forms in C# is the ultimate guide to using the Microsoft .NET forms package. Readers learn how to build smart client applications that take full advantage of both the rich user interface features of the Microsoft Windows operating system and the deployment features of HTML-based applications. Author Chris Sells draws upon his WinForms research and programming experience to provide what the Windows Forms documentation could not: a clear picture of exactly how C# programmers will want to use WinForms.

Well-written and easy to navigate, this book presents the building blocks of WinForms and the best practices for creating stand-alone client applications and front ends to databases and Web services. Readers gain an understanding of the rationale behind aspects of WinForms' design and will find out how to avoid or solve common problems. Figures illustrate WinForms' user interface features and code samples are used throughout the book to demonstrate best practices. All code has been tested with Visual Studio .NET 1.1 and is available at www.sellsbrothers.com, where readers will also find updates to the book.

This book focuses on the topics readers need to understand in order to build real-world applications. These topics include:

Form layout

Multiple top-level windows

Non-rectangular windows

Accessing data from the middle tier, filesystems, XML, databases, and Web services

Classes outside the System.WinForms namespace, including System.Drawing and System.Security

Custom drawing

Hosting and building controls

Design-time integration

Data binding

Multithreaded user interfaces

Deploying WinForms over the Web

Moving from MFC

Delegates and events

Serialization basics

Programming Windows Forms in C# is the tutorial for experienced Windows programmers who are serious about mastering Windows Forms.