Store: Programming .NET Windows Applications

by Jesse Liberty and Dan Hurwitz

Xlarge_9781449362829

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 t...

More >>

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.

Less

Read Now


ISBN 9781449362829

Published 2012-11-29

Publisher O'Reilly Media


Free Programming .NET Windows Applications 2 >
Free SPECIAL OFFER: Upgrade this ebook with O’Reilly 3 >
Free A Note Regarding Supplemental Files 4 >
Free Copyright 5 >
Free Preface 6 >
Free About This Book 7 >
How the Book Is Organized 8 >
Who This Book Is for 10 >
Conventions Used in This Book 11 >
Version Support 12 >
Support: A Note From Jesse Liberty 13 >
We'd Like to Hear from You 14 >
Acknowledgments 15 >
1. Windows Forms and the .NET Framework 16 >
1.1. The .NET Framework 17 >
1.2. Windows Forms 19 >
2. Getting Started 20 >
2.1. System Requirements 21 >
2.2. Hello World 24 >
3. Visual Studio .NET 55 >
3.1. Overview 56 >
3.2. Start Page 57 >
3.3. Projects and Solutions 59 >
3.4. The Integrated Development Environment (IDE) 62 >
3.5. Building and Running 106 >
4. Events 107 >
4.1. Publish and Subscribe 108 >
4.2. Performance 133 >
4.3. Some Examples 134 >
5. Windows Forms 166 >
5.1. Web Applications Versus Windows Applications 167 >
5.2. The Forms Namespace 171 >
5.3. Form Properties 174 >
5.4. Forms Inheritance 175 >
5.5. User Interface Design 196 >
6. Dialog Boxes 226 >
6.1. Modal Versus Modeless 227 >
6.2. Form Properties 228 >
6.3. DialogResult 234 >
6.4. Termination Buttons 239 >
6.5. Apply Button 241 >
6.6. CommonDialog Classes 251 >
7. Controls: The Base Class 287 >
7.1. Control Class 288 >
8. Mouse Interaction 346 >
8.1. SystemInformation Properties 347 >
8.2. Mouse Events 352 >
9. Text and Fonts 373 >
9.1. Text 374 >
9.2. Fonts 377 >
10. Drawing and GDI+ 415 >
10.1. The Drawing Namespace 416 >
10.2. The Analog Clock Project 442 >
11. Labels and Buttons 489 >
11.1. Label 490 >
11.2. Button Classes 514 >
12. Text Controls 542 >
12.1. Text 543 >
12.2. Editable Text Controls: TextBoxBase 544 >
12.3. RichTextBox 568 >
13. Other Basic Controls 590 >
13.1. Containers 591 >
13.2. Tabbed Pages 596 >
13.3. PictureBox 610 >
13.4. ScrollBar 616 >
13.5. TrackBar 629 >
13.6. Up-Down Controls 635 >
13.7. ProgressBar 648 >
14. TreeView and ListView 652 >
14.1. Class Hierarchy 653 >
14.2. Splitter 654 >
14.3. TreeView 662 >
14.4. ListView 690 >
15. List Controls 732 >
15.1. Class Hierarchy 733 >
15.2. ListControls 734 >
16. Date and Time Controls 803 >
16.1. Class Hierarchy 804 >
16.2. Date and Time Values 805 >
16.3. DateTimePicker 816 >
16.4. MonthCalendar 824 >
16.5. Timer Component 837 >
17. Custom Controls 851 >
17.1. Specializing an Existing Control 852 >
17.2. Creating a User Control 859 >
17.3. Creating Custom Controls from Scratch 882 >
18. Menus and Bars 888 >
18.1. Creating Your First Menu 889 >
18.2. The MainMenu Object 890 >
18.3. Toolbars 932 >
18.4. Writing It by Hand 940 >
18.5. Status Bars 950 >
19. ADO.NET 962 >
19.1. Bug Database: A Windows Application 963 >
19.2. The ADO.NET Object Model 968 >
19.3. Getting Started with ADO.NET 974 >
19.4. Managed Providers 990 >
19.5. Binding Data 994 >
19.6. Data Reader 996 >
19.7. Creating a DataGrid 1000 >
20. Updating ADO.NET 1029 >
20.1. Updating with SQL 1030 >
20.2. Updating Data with Transactions 1036 >
20.3. Updating Data Using DataSets 1057 >
20.4. Multiuser Updates 1078 >
20.5. Command Builder 1089 >
21. Exceptions and Debugging 1096 >
21.1. Bugs Versus Exceptions 1097 >
21.2. Exceptions 1098 >
21.3. Throwing and Catching Exceptions 1099 >
21.4. Bugs 1102 >
21.5. Debugging in Visual Studio .NET 1103 >
21.6. Assert Yourself 1125 >
22. Configuration and Deployment 1130 >
22.1. Class Hierarchy 1131 >
22.2. Configuration 1132 >
22.3. Assemblies 1157 >
22.4. Build Configurations 1197 >
22.5. Deployment 1201 >
A. Characters and Keys 1229 >
About the Authors 1232 >
Colophon 1233 >
SPECIAL OFFER: Upgrade this ebook with O’Reilly 1234 >
Copyright 1235 >