Windows Forms Programming in C#
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.
Table of Contents
1. Hello, Windows Forms.
4. Drawing Basics.
5. Drawing Text.
6. Advanced Drawing.
9. Design-Time Integration.
11. Applications and Settings.
12. Data Sets and Designer Support.
13. Data Binding and Data Grids.
14. Multithreaded User Interfaces.
15. Web Deployment.
A. Moving from MFC.
B. Delegates and Events.
C. Serialization Basics.
D. Standard WinForms Components and Controls.