Book description
For those of you who develop standalone Windows applications for PCs and other devices, Microsoft's .NET Windows Forms provide a much better way to get it done. This new technology gives you more power and flexibility for a fraction of the effort compared to classic Win32 development, with a streamlined programming model that deals automatically with many tedious details that once plagued developers. As with most things .NET, the only hitch is the learning curve. But that's where acclaimed author Jesse Liberty makes the difference with Programming .NET Windows Applications. With this tutorial, you will explore all aspects of using .NET Windows Forms class libraries and the associated programming tools in Visual Studio .NET, enabling you to build applications for the Windows 9x, Windows 2000 and Windows XP desktop platforms. Step-by-step, you'll learn ways to design applications that either function alone on a PC, or work in combination with your web-based application server to take advantage of the richer interface and higher level of security. The book also explains how your new Windows applications can sidestep problems that used to arise from the use of DLLs (known collectively as "DLL hell"), and how .NET Windows Forms can be used as an alternative to ASP.NET and browser-based approaches for building web application clients. Jesse Liberty definitely knows his stuff when it comes to the .NET platform. As the author of O'Reilly's Programming C# and Learning Visual Basic .NET, he's well-known for his clear and concise style that prompted one reviewer to say, "It's as if he knows exactly what questions I'm going to ask ahead of time." Jesse also co-authored Programming ASP.NET with contract programmer Dan Hurwitz, and now the two have teamed up again to bring you this comprehensive tutorial--without a doubt, the best source available for learning how to program with .NET Windows Forms.
Table of contents
- Programming .NET Windows Applications
- A Note Regarding Supplemental Files
- Copyright
- Preface
- 1. Windows Forms and the .NET Framework
- 2. Getting Started
-
3. Visual Studio .NET
- 3.1. Overview
- 3.2. Start Page
- 3.3. Projects and Solutions
- 3.4. The Integrated Development Environment (IDE)
- 3.5. Building and Running
- 4. Events
- 5. Windows Forms
- 6. Dialog Boxes
-
7. Controls: The Base Class
-
7.1. Control Class
- 7.1.1. Class Hierarchy
-
7.1.2. Common Features
- 7.1.2.1. Parent/child relationship
- 7.1.2.2. Z-order
- 7.1.2.3. Changing the z-order
- 7.1.2.4. Ambient properties
- 7.1.2.5. Font
- 7.1.2.6. Size and location
- 7.1.2.7. Dynamically setting size and location
- 7.1.2.8. AutoScale
- 7.1.2.9. Anchoring
- 7.1.2.10. Docking
- 7.1.2.11. Painting the control
- 7.1.2.12. Tag property
- 7.1.2.13. Tabbing
- 7.1.2.14. Keyboard interaction
- 7.1.2.15. ImageLists
-
7.1. Control Class
- 8. Mouse Interaction
-
9. Text and Fonts
- 9.1. Text
-
9.2. Fonts
- 9.2.1. Typographical Stuff
-
9.2.2. Font Class
- 9.2.2.1. Font properties
-
9.2.2.2. Constructors
- 9.2.2.2.1. Constructor based on existing font and FontStyles
- 9.2.2.2.2. Constructor based on FontFamily and size
- 9.2.2.2.3. Constructor based on FontFamily, size, and FontStyles
- 9.2.2.2.4. Constructor based on FontFamily, size, and GraphicsUnit
- 9.2.2.2.5. Constructor based on FontFamily, size, FontStyles, and GraphicsUnit
- 9.2.2.3. Line spacing
- 9.2.3. Drawing Strings
- 9.2.4. Measuring Strings
-
10. Drawing and GDI+
- 10.1. The Drawing Namespace
- 10.2. The Analog Clock Project
- 11. Labels and Buttons
- 12. Text Controls
- 13. Other Basic Controls
- 14. TreeView and ListView
- 15. List Controls
- 16. Date and Time Controls
- 17. Custom Controls
-
18. Menus and Bars
- 18.1. Creating Your First Menu
- 18.2. The MainMenu Object
- 18.3. Toolbars
- 18.4. Writing It by Hand
- 18.5. Status Bars
-
19. ADO.NET
- 19.1. Bug Database: A Windows Application
- 19.2. The ADO.NET Object Model
- 19.3. Getting Started with ADO.NET
- 19.4. Managed Providers
- 19.5. Binding Data
- 19.6. Data Reader
- 19.7. Creating a DataGrid
- 20. Updating ADO.NET
- 21. Exceptions and Debugging
-
22. Configuration and Deployment
- 22.1. Class Hierarchy
- 22.2. Configuration
- 22.3. Assemblies
- 22.4. Build Configurations
- 22.5. Deployment
- A. Characters and Keys
- About the Authors
- Colophon
- Copyright
Product information
- Title: Programming .NET Windows Applications
- Author(s):
- Release date: October 2003
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596003210
You might also like
book
Windows Forms 2.0 Programming
“Some books are different-the content can't be Googled from the Internet, the authors have real-life experiences …
book
.Net Framework Essentials
.NET Framework Essentials is an objective, concise, and technical overview of the new Microsoft .NET Framework …
book
Programming in the .NET Environment
is the software developer's guide to the .NET Framework. The authors describe Microsoft's vision for distributed …
book
Windows Forms Programming in Visual Basic .NET
Praise Page for Windows Forms Programming in Visual Basic .NET “This is the .NET WinForms book …