See buying choices for this item to see if it's one of the millions that are eligible for Amazon Prime.

25 used & new from $8.94

Have one to sell? Sell yours here
 
 
Programming Microsoft   Windows  with C#
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Programming Microsoft Windows with C# (Paperback)

by Charles Petzold (Author) "In that succinct and (perhaps consequently) much-beloved classic tutorial The C Programming Language, authors Brian Kernighan and Dennis Ritchie begin by presenting what has come..." (more)
Key Phrases: Charles Petzold, Type Property Accessibility, Times New Roman (more...)
4.1 out of 5 stars See all reviews (72 customer reviews)


Available from these sellers.


4 new from $48.40 21 used from $8.94
Also Available in: List Price: Our Price: Other Offers:
Paperback (Import) 3 used & new from $32.00
More from Microsoft Press
Make the most of your investment in Microsoft technology with books from the Microsoft Press Learning Center.

Customers Who Bought This Item Also Bought

Programming Microsoft® Windows® Forms (Pro Developer)

Programming Microsoft® Windows® Forms (Pro Developer)

by Charles Petzold
Programming Windows®, Fifth Edition (Microsoft Programming Series)

Programming Windows®, Fifth Edition (Microsoft Programming Series)

by Charles Petzold
4.3 out of 5 stars (88)  $37.79
Programming in the Key of C#: A Primer for Aspiring Programmers (Step By Step (Microsoft))

Programming in the Key of C#: A Primer for Aspiring Programmers (Step By Step (Microsoft))

by Charles Petzold
4.2 out of 5 stars (20)  $26.99
Applications = Code + Markup: A Guide to the Microsoft  Windows  Presentation Foundation (Pro - Developer)

Applications = Code + Markup: A Guide to the Microsoft Windows Presentation Foundation (Pro - Developer)

by Charles Petzold
3.8 out of 5 stars (43)  $37.79
3D Programming for Windows (Pro - Developer)

3D Programming for Windows (Pro - Developer)

by Charles Petzold
4.8 out of 5 stars (4)  $26.39
Explore similar items

Editorial Reviews

Amazon.com Review
Aimed at aspiring C# programmers of all levels, legendary Windows expert Charles Petzold's Programming Windows with C# provides an extremely in-depth and intelligent tutorial to the APIs underpinning Microsoft's .NET Framework.

For a generation of programmers, Petzold's Programming Windows: The Definitive Guide to the Win32 API provided a virtual bible on how to get started with Windows development. This massive, handsomely bound hardcover edition attempts the same breadth of coverage for Microsoft's new C# language and the new .NET. With several examples clearly inspired by the earlier C title, this book demonstrates the author's keen eye for showing off and explaining the capabilities of low-level APIs to good effect.

The book first outlines basic "Hello World" examples for both a console and Windows Forms. Next, there's coverage of basic support classes (like points and rectangles) before turning toward using these structures in extensive sections on graphics programming. Petzold's traditional strengths as a computer author are in ample evidence here, with many short examples that exercise the capabilities of the new .NET APIs.

Veteran readers will recognize the basic shape of the early Win32 title in the organization of this (completely rewritten) C# version in the flow of topics from graphics, keyboard, mouse and timers, and the like. (One production note here is that the order of later chapters does jump around somewhat, circling back to graphics topics several times instead of presenting related APIs in order.)

The sections on graphics transforms and how to manipulate images are worthy of note. There's excellent coverage of the possibilities of working with text and fonts output in .NET. Nifty working samples for several types of clocks and shape-drawing demos will let you explore graphical APIs in detail.

Several chapters cover basic Windows Forms control programming with buttons, labels, and edit controls and then splitters, ListView, and TreeView controls. This volume closes out with references to files and streams, and math and string APIs. For any developer who wants to create state-of-the-art, "traditional" client-side software, this book is sure to be required reading for its in-depth look at graphics and other leading-edge .NET features. It proves once again that learning low-level APIs in detail is still a good way to learn Windows programming. --Richard Dragan

Topics covered: Overview of C# and .NET Windows programming fundamentals; a "Hello World" console application; C# language and object basics; a simple Windows Forms application (creating a main window and handling the paint events); basic .NET structures (including rectangles, points, and colors); text output and scrolling; exploring .NET system information; in-depth tutorial for GDI+ programming: pens, lines, rectangles, and polygons; keyboard processing (plus a custom class for caret processing); graphics transformations (including scaling, linear transforms with matrices); mouse processing (plus processing the mouse wheel); text and fonts (TrueType and OpenType fonts, antialiasing, measuring text); using timers; date and time APIs; a sample code for clocks; drawing and transforming images (displaying JPG and BMP files); simple animation; basic control programming (buttons, labels, scroll bars, and track bars); exploring Bezier curves and splines; menus (basic and custom); graphics paths and regions; clipping techniques; basic dialog box programming (modal and modeless forms); edit, list, and spin controls; font transforms and special effects, using toolbars and status bars, printing techniques (including print dialogs), splitter, TreeView, and ListView controls; programming with the clipboard, drag-and-drop support, reference sections on APIs for programming with files and streams, math functions, and strings.

Product Description

This core reference provides the expert guidance that professional developers need to build applications with Windows Forms-the next-generation Microsoft Windows programming class library. Best-selling author on programming for the Windows operating system Charles Petzold shows readers how to use Microsoft Visual C#-the advanced, object-oriented language for the Microsoft .NET platform-to create dynamic user interfaces and graphical outputs for distributed or stand-alone applications. Numerous application examples-with reusable code on companion CD-ROM-help developers increase their productivity.


Product Details

  • Paperback: 1290 pages
  • Publisher: Microsoft Press (January 18, 2002)
  • Language: English
  • ISBN-10: 0735613702
  • ISBN-13: 978-0735613706
  • Product Dimensions: 9.4 x 7.7 x 2.4 inches
  • Shipping Weight: 4.8 pounds
  • Average Customer Review: 4.1 out of 5 stars See all reviews (72 customer reviews)
  • Amazon.com Sales Rank: #187,458 in Books (See Bestsellers in Books)

Inside This Book (learn more)
First Sentence:
In that succinct and (perhaps consequently) much-beloved classic tutorial The C Programming Language, authors Brian Kernighan and Dennis Ritchie begin by presenting what has come to be known as the hello-world program: #include <stdio.h> main() { printf("hello. world\n"):} While such a program hardly exploits the power of today's computers, it's certainly useful on the practical level because it gives the eager student programmer the opportunity to make sure that the compiler and all its associated files are correctly installed. Read the first page
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Charles Petzold, Type Property Accessibility, Times New Roman, Programming Windows, Event Method Delegate Argument, Visual Studio, Windows Explorer, Control Panel, Caps Lock, Courier New, New York, United States, Control Events, Edit Paste, Enumeration Member Value None, Command Prompt, Microsoft Windows, Annabel Lee, Control Methods, False False False, File Interchange Format, Num Lock, Edit Copy, Hello World, Aunt Polly
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:



Books on Related Topics (learn more)
 
 

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

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

72 Reviews
5 star:
 (43)
4 star:
 (10)
3 star:
 (6)
2 star:
 (8)
1 star:
 (5)
 
 
 
 
 
Average Customer Review
4.1 out of 5 stars (72 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
93 of 96 people found the following review helpful:
5.0 out of 5 stars Be better called Programming Windows GUI with C# :), January 11, 2002
This book is for neither .NET/C# programming language nor Windows Operating System. It focuses on Windows GUI programming.
It only spends about 40 pages on C# language basics, and also, it never mentions COM/COM+, which are very important features for Windows platform.
This is the best reference book for windows forms and .Net GDI+ programming. It spends 1200+ pages to introduce all those Graphic and UI stuff in a C# way. If you are a UI programmer, this book is nothing but a must buy! It includes everything you need to know about .NET/C# GUI programming.
But, if what you are looking for is some C# language reference, please refer to C# Primer: A Practical Approach by Stanley B. Lippman or Progamming C#. If what you want is a detail look into .NET platform/CLR, refer to Compiling for the .NET Common Language Runtime.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
67 of 69 people found the following review helpful:
5.0 out of 5 stars Destined to become a classic, January 25, 2002
By Frank Paris (Beaverton, OR USA) - See all my reviews
(REAL NAME)   
This is one of the most carefully constructed books on programming that I've ever read. The book builds a doggedly focused exposition of .NET Windows Forms from the ground up, and within that subject, there is very little missing here. Further, any diversions are relegated to three superbly organized appendices on Files and Streams, math functions, and string handling, three areas which rich client windows programmers have to have good mastery of anyhow. When I say that Petzold builds his subject from the ground up, I mean that the book can and should be read like "War and Peace, " from beginning to end without skipping anything. Even if you think you understand the basics, I'd be very surprised if you didn't gain important insights you might have missed before, even from the early and elementary chapters. Virtually nothing is presupposed and your knowledge is build up, block by block. After studying this book, you will understand exactly what is happening in a .NET Windows Forms application. Other books take a shotgun approach, throwing stuff at you that may work, but without providing the background to understand what is happening beneath the sheets. Petzold does not let Visual C# generate code automatically. Visual Studio provides a lot of visual tools and wizards for quickly designing dialog box layouts and generating code frameworks, but Petzold wants you to understand what is really going on, so everything is hand-coded in this book. This can either be a warning to you, or an invitation to those who want a deep understanding of how a Windows Form is really put together. I'd say, do it Petzold's way first, and after you've mastered the foundations of Windows Forms, use the visual tools to save time when your now superior perspective can do so without running the risk of not understanding something the visual tools did that isn't quite working right and you don't have the depth of understanding to quickly zero in on the cause.

There is virtually nothing in this book that is not focused on .NET Windows Forms using C#. Mercifully, VB.NET isn't even mentioned. Also, you won't find diversionary chapters on ADO.NET or ASP.NET. The book treats Windows Forms basics (from the classic "Hello, World", through essential data structures and basic text output), and then alternates the chapters between topics on graphics (GDI+) and user interface elements (mouse, keyboard, timers, buttons, menus, toolbars, etc.). GDI+ is an enhancement to the old GDI and the book contains uncompromising chapters on such graphical topics as Bezier curves and other splines, including all the necessary mathematical background. In the chapter on Pages and Transforms, he presents* all the mathematical background necessary to perform the linear transformations needed to utilize the GDI+ graphical transforms. This is what I mean about uncompromising. He doesn't avoid topics in the .NET Windows Forms classes because they might require a little college algebra that most of us have probably forgotten. He just dives right in and presents everything necessary to come to grips with the deepest .NET classes in Windows Forms. About the only subject he doesn't treat is Image Color Management, a topic so vast it really deserves a book of its own (although "Windows 2000 Graphics API Black Book" has an excellent chapter on the Win32 API).

With such an exhaustive treatment of his subject matter, you might think this book might be pretty dry reading. Not true. Petzold writes with supreme confidence and wry wit, never cloying, always with just the right touch. This book is fun reading, his enthusiasm for his subject matter always in evidence, even when he's exhaustively presenting the methods of a class or an enumeration. You can tell he is having a ball.

There are lots of tables and code in the book. The code is available on an included CD. A minor problem I had is that sometimes the Beta 2 produced a bunch of "System.Byte not defined in the workspace" errors. If this happens to you, just choose Yes when it asks if you want to go ahead anyhow. The applications still work.

His examples are short and are easily typed in by hand, something Petzold recommends anyhow. The way I worked with this book was to embellish little programs of my own anyhow, trying out the facilities he was expositing within my own framework. I probably learned even more taking this approach rather than using his examples literally.

So overall, it is hard to imagine that this book could ever be surpassed. This book deservers an extra rosette, beyond the five stars for those extremely rare computer books that are destined to become a classic teaching a whole generation of programmers.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
38 of 39 people found the following review helpful:
4.0 out of 5 stars Excellent but a Misleading Title, June 15, 2002
Programming Microsoft Windows with C#: A Core Reference
As expected, book is an excellent work but title is misleading. I've read the entire book and this is what I found:
1. Excellent book for beginners to write Windows programming with simple Windows controls including brushes, pens, text and fonts, keyboard and mouse events, times, scroll bars, menus, dialog boxes, toolbars and status bars, tree view, list view and printing.
2. Book is well written in a tutorail way, easy to understand.

3. Not much for an advanced developer. If you're looking for some advanced stuff, you may be disappointed.

Overall a must have for .NET beginners and intermediate developers.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Excellent book for beginning C# / .NET windows programming
Mr Petzold covers a lot of ground here. The most fun thing is that you can use the very same concepts in VB.NET or J# with no loss in the material. Read more
Published on November 22, 2005 by coffee_fan

5.0 out of 5 stars Funtastic book, 1200 golden pages .
The last reviewers described all, so I decided not going too deep in my review. At this time I didnt had finished this one yet but for what I already saw its a classic C# for... Read more
Published on August 24, 2005 by Jose Romao

5.0 out of 5 stars Great GUI Book!!
I was a Microsoft Visual C++ programmer for more then 5 years. I am currently writting a program that involves heavy graphics in C# and needed a book to learn from quickly and... Read more
Published on August 10, 2005 by Steven P. Moller

4.0 out of 5 stars good book
Avoids using the .NET environment, wich is a bit silly.
But that way you learn and understand more about C#, you have to do it all by yourself(if you wish). Read more
Published on August 10, 2005 by Daniel Marivoet

3.0 out of 5 stars Book for GUI developers
This book was a huge disappointment. It seems that Mr. Petzold thinks that GUI is all that Windows programmer should know about. Read more
Published on April 21, 2005 by demonk

4.0 out of 5 stars Great book on Windows Forms
This book provides a good, short introduction to C#. It was my first book on C#, and I did not feel like I needed another after reading it. Read more
Published on September 3, 2004 by critical_g

1.0 out of 5 stars WOW!
I'm not sure why I've seen so many good reviews for this book.......I see it as 1200+ pages of wasted paper. Microsoft recommends this book as study material for their exam? Read more
Published on June 9, 2004 by Dan

4.0 out of 5 stars Programming with Windows Forms
If you carefully examine the list of "Topics Covered" given by Amazon, you will not be disappointed at how Petzold does it. Read more
Published on May 23, 2004 by Don Woodhouse

5.0 out of 5 stars Excellent if you want to write GUIs with C#
While most C# books tend to focus on :
- basic C#
- XML
- ASP.NET
"Programming Windows with C# " simply teaches you all you should know about GUI programming... Read more
Published on April 22, 2004 by Daniel V. Gomes

5.0 out of 5 stars Very good as its predecessors
I spent most of the time on Visual Basic but I consider this text the appropriate companion for Balena's book. Read more
Published on April 19, 2004 by Ricci Gian Maria

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
  Discussion Replies Latest Post
C# or Java? 32 8 days ago
   


Product Information from the Amapedia Community

Beta (What's this?)


So You'd Like to...


Look for Similar Items by Category


Everything to Maintain Your Landscape

Shop for gardening tools
From pruners and saws to shovels and rakes, we have the gardening tools you need to keep your landscape looking its best.

Shop all gardening tools

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Dive into Summer Reading

Summer Reading for Kids and Teens
Don't even think about hitting the beach without browsing the books in our Summer Reading Store. Discover bestsellers, paperback picks, beach reads, and more terrific titles all summer long.
 

Maintain Your Outdoor Furniture

Shop for Protective Varnishes and Applicators
Browse the Painting Tools & Supplies Store for a wide variety of protective varnishes and applicators to shield your outdoor furniture from harsh elements.

Shop for varnish tools and supplies

 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.



Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Glenn Beck's Common Sense
Glenn Beck's Common Sense

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates