What do flashlights, the British invasion, black cats, and seesaws have to do with computers? In CODE, they show us the ingenious ways we manipulate language and invent new means of communicating with each other. And through CODE, we see how this ingenuity and our very human compulsion to communicate have driven the technological innovations of the past two centuries. Using everyday objects and familiar language systems such as Braille and Morse code, author Charles Petzold weaves an illuminating narrative for anyone who’s ever wondered about the secret inner life of computers and other smart machines. It’s a cleverly illustrated and eminently comprehensible story—and along the way, you’ll discover you’ve gained a real context for understanding today’s world of PCs, digital media, and the Internet. No matter what your level of technical savvy, CODE will charm you—and perhaps even awaken the technophile within.
Get a focused introduction to programming 3D graphics with the Windows Presentation Foundation 3D API. Complementing his book Applications = Code + Markup, award-winning author Charles Petzold builds on XAML essentials, teaching you how to display and animate 3D graphics under the Microsoft .NET Framework 3.0 and Windows Vista. You’ll get expert guidance and code samples in XAML and Microsoft Visual C#— helping you master the skills you need to create high-fidelity user interfaces. Discover how to: Define complex 3D objects with triangle meshes Enhance the illumination of 3D surfaces with light and shading effects Color 3D figures with gradients, bitmaps, and drawings Add animation with transforms and vertex manipulation Represent linear, affine, and camera transforms by using matrices Calculate vector angles, angles of rotation, and axes of rotation Generate triangle meshes efficiently by using C# code Express rotation by using quaternion computation Provide a user interface for manipulating and drawing 3D figures PLUS—Get Visual C# and XAML code samples on the Web
This definitive guide has now been updated to cover the significant enchancements of Windows 3.1, including the new Dynamic Data Exchange (DDE) protocol, the printing and TrueType font application programming interface (API), and more. Packed with straightforward explanations, keen insights, tried and tested programming techniques, and scores of sample programs written in C.
Comprehensive, complete coverage is given of Windows programming fundamentals. Fully revised for Windows 98, this edition covers the basics, special techniques, the kernel and the printer, data exchange and links, and real applications developed in the text.
Applications = Code + Markup: A Guide to the Microsoft® Windows® Presentation Foundation
Get the definitive guide to the Windows Presentation Foundation (WPF), the new client programming interface for the Microsoft .NET Framework 3.0 and Windows Vista. Award-winning author Charles Petzold teaches you how to combine C# code and the Extensible Application Markup Language (XAML) to develop applications for the WPF. You’ll get expert guidance and hundreds of practical, hands-on examples—giving you the skills you need to exploit the new interface and graphics capabilities for Windows Vista. Discover how to: Create and enhance controls including menus, toolbars, tree views, and list views Use dynamic layout to automate the positioning of controls and graphics Work with dependency properties and routed input events Use XAML resources, styles, and templates to alter the appearance of your UI Use data binding techniques in XAML to help simplify and streamline your applications Create and publish XAML Browser Applications Develop visually-stunning UIs with interactive graphics, media, and animation PLUS—Get code samples on the Web
Creating Mobile Apps with Xamarin.Forms Preview Edition 2
This second Preview Edition ebook, now with 16 chapters, is about writing applications for Xamarin.Forms, the new mobile development platform for iOS, Android, and Windows phones unveiled by Xamarin in May 2014. Xamarin.Forms lets you write shared user-interface code in C# and XAML that maps to native controls on these three platforms.
“Look it up in Petzold” remains the last word on Windows development. In this .NET-ready Windows programming guide, the best-selling author shows you how to get the most out of Windows Forms—the next-generation Windows programming class library. You’ll discover how to use C# to create dynamic user interfaces and graphical outputs for Windows applications. With dozens of examples of client applications to illustrate common techniques and plenty of no-nonsense advice on best programming practices, you’ll be C# sharp in no time. Topics covered in this guide include: A tour of C# Windows Forms Essential structures An exercise in text output Lines, curves, and area fills Tapping into th...
Reimagined for full-screen and touch-optimized apps, Windows 8 provides a platform for reaching new users in new ways. In response, programming legend Charles Petzold is rewriting his classic Programming Windows—one of the most popular programming books of all time—to show developers how to use existing skills and tools to build Windows 8 apps. Programming Windows, Sixth Edition focuses on creating Windows 8 apps accessing the Windows Runtime with XAML and C#. The book also provides C++ code samples. The Sixth Edition is organized in two parts: Part I, “Elementals,” begins with the interrelationship between code and XAML, basic event handling, dynamic layout, controls, templates, asy...
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
"Learn how to create next-generation client interfaces with Windows legend Charles Petzold. Get the definitive guide to the Windows Presentation Foundation (WPF), the new client programming interface for the Microsoft .NET Framework 3.0 and Windows Vista. Award-winning author Charles Petzold teaches you how to combine C# code and the Extensible Application Markup Language (XAML) to develop applications for the WPF. You'll get expert guidance and hundreds of practical, hands-on examples--giving you the skills you need to exploit the new interface and graphics capabilities for Windows Vista."--Publisher's website.