Vous voulez voir cette page en français ? Cliquez ici.

Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Programming Microsoft Windows Forms [Paperback]

Charles Petzold

Available from these sellers.


Amazon Price New from Used from
Paperback --  
Paperback, Nov. 2 2005 --  
Join Amazon Student in Canada

Book Description

Nov. 2 2005 0735621535 978-0735621534 1

Whether you’re a new or experienced developer, get the focused information you need to streamline application development using Windows Forms and Microsoft .NET Framework 2.0. Award-winning author Charles Petzold illuminates the essential concepts and techniques for exploiting Windows Forms capabilities—offering concise, eloquent instruction as always, along with ample code examples in C#.

Discover how to:

  • Understand the architecture of Windows Forms programs
  • Add familiar Windows controls to your application, such as buttons, scroll bars, and text boxes
  • Create toolbars, menus, and status bars, complete with text and bitmap images
  • Enhance existing controls, combine multiple controls, or create custom controls from scratch
  • Exploit dynamic layout with FlowLayoutPanel
  • Support absolute, proportional, or auto-sized columns and rows with TableLayoutPanel
  • Develop data-bound controls
  • Display tabular data with the new DataGridView control—without writing extensive code
  • PLUS—Build and deploy two real-world Windows Forms applications from the bottom up

Customers Who Bought This Item Also Bought

Product Details

Product Description

About the Author

Charles Petzold has been writing about Windows programming for 25 years. A Windows Pioneer Award winner, Petzold is author of the classic Programming Windows, the widely acclaimed Code: The Hidden Language of Computer Hardware and Software, Programming Windows Phone 7, and more than a dozen other books.

Inside This Book (Learn More)
First Sentence
Microsoft .NET is a collection of software technologies intended to facilitate development of modern Web-based and Microsoft Windows-based applications. Read the first page
Explore More
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

There are no customer reviews yet on Amazon.ca
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.2 out of 5 stars  9 reviews
22 of 22 people found the following review helpful
5.0 out of 5 stars The BEST Introduction to C#, WinForms. and .net 2.0 Jan. 29 2006
By John Harman - Published on Amazon.com
This is hands down the most clearly-written explanation of programing windows forms using C# that I have read or seen on the market. Petzold has an easy and engaging writing style. He takes the time to explain the WHAT and the WHY of what you are doing. This is a great book for someone just sitting down to Visual Studio 2005 to begin learning C# programming. His examples and walkthroughs produce useful and functioning examples of the most common aspects of Win Form programming. My only complaint is that he can only dedicate a chapter to some pretty key concepts, like data-binding. My interest is piqued, and then the chapter ends and we move on to new concepts. This is a small complaint because what he does provide is complete and enlightening. It provides a solid foundation to build off of create your own experiments.

I have worked through many programming books over the years (or should I say attempted to). The Step-by-Step guides always leave me wanting more answers about how things work, in addition to how to make it work, and seem to be pretty superficial. This book has left me anxious to read more of Petzold's work. He has skillfully broken through my thick head and can do the same for you.
22 of 24 people found the following review helpful
5.0 out of 5 stars Uses the New .NET 2.0 Enhancements for a Quick Start Dec 1 2005
By John Matlock - Published on Amazon.com
The Microsoft .NET program continues to expand with each release of Windows. In the .NET Framework 2.0, introduced in the fall of 2005 significant enhancements were made. These enable the programmer to implement Windows applications that are both powerful and sharp looking with considerably less effort than before. This book is somewhat of a quick introduction to writing such applications taking advantage of the new features.

The author's previous book 'Programming Microsoft Windows with C#' is about three times as long as this one and is basically written using a somewhat lower level of coding as was required before the new enhancements. It may well be that you want to purchase that book as a second volume to this one.

This book uses Microsoft's C# programming language for its demonstrations. A brief introduction to the C# language is included in the book, enough that C++ and Java programmers should have no problems in following the examples. There is no CD published with the book, instead a web site is maintained with code samples, updates, and a list of known errors.

This book is a rather 'quick and dirty' introduction to Windows Forms, it is an excellent introduction to getting something going. By the time the reader gets through the two real applications in the back of the book he should be ready to tackle the kinds of things for which Windows Forms was created.
5 of 5 people found the following review helpful
5.0 out of 5 stars Self written Form code *does* show in Designer (contrary to some reviews here) Feb. 15 2009
By Nikos - Published on Amazon.com
A major criticism I have seen of this book went as follows: "Unfortunately any forms which are built with code cannot then be manipulated with the GUI tools which defeats the intention of the makers of Visual Studio as a Rapid Application Developement (RAD) tool." This is just wrong, as far as I understand the review statement you just read, and this unfortunately may mislead people into not getting this resource (who would want their code not to show up in a designer, after all!). But form code that you write DOES show up in your designer. VStudio populates Form1.designer.cs with automated code when you drag and drop buttons and text boxes, etc, onto your designer. But if you add legitimate code to Form1.designer.cs (*as this book would teach you how to do*, [which by the way, this would be the only way to add controls programmatically!]), your code will immediately be reflected in your designer. Go ahead and try it (as I just did again to make sure): Make a simple form and drag on 2 buttons; then go to the automated code in Form1.designer.cs and duplicate one of those but name it button3 instead (just change the location point a little so it is not hidden right under the one you copied!). Maybe the reviewer had some legitimate criticisms but expressed them poorly, but as it stands, they are quite misleading. I for one am looking for getting greater depth in learning some controls and event handling, I think this book might take the cake (although I wish I knew if getting the authors older book would be better??). Cheers~
4 of 4 people found the following review helpful
5.0 out of 5 stars Easy to follow introduction into windows forms April 13 2008
By Douglas Richardson - Published on Amazon.com
Programming Microsoft Windows Forms is a great introduction into windows forms. It takes the magic out of windows programming by showing how to do everything from scratch, which, with windows forms, turns out to be pretty easy.

I haven't programmed for windows since MFC, COM, and Visual Studio 6 were considered new. Windows forms makes a lot of the tasks that used to be tedious easy and Petzold as always is very easy to follow.

Although this book is not an introduction into C#, it is easy to pick up assuming you already know some other languages like C++ or Java. I didn't know any C# before I started reading this book and already feel comfortable with it.

One thing to note is that this book covers .NET 2.0 and the current version (as of April 2008) is .NET 3.5. However, I haven't had any problems compiling the example code using Visual C# 2008 Express Edition.
15 of 24 people found the following review helpful
3.0 out of 5 stars Not for RAD programmers. March 12 2007
By Freehold Consulting - Published on Amazon.com
This book is, as the author explains, done in Petzold style. Meaning it is shown with the code behind the GUI tools instead of being done with the tools. Unfortunately any forms which are built with code cannot then be manipulated with the GUI tools which defeats the intention of the makers of Visual Studio as a Rapid Application Developement (RAD) tool.

If all you have however is the compiler and a text editor then this book is for you but since Visual C# is freely available you can write some nifty applications without needing to know how to invoke the compiler from the command line.

Still, there are some things in this book which are helpful to know and the GUI tools, on occasion, don't exactly fit the bill. So it's nice to know what the code behind the GUI is doing but you'll soon be forgetting most of what you learn because you'll be using the GUI tools.

I would much rather have had a book which shows how to use the GUI tools more effectively than what the code does.

Edwin E. Smith

Freehold Consulting

Coffeyville, KS

Look for similar items by category