Ebook Windows Forms 2.0 Programming (Microsoft .NET Development Series), by Chris Sells, Michael Weinhardt
Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt. In undertaking this life, numerous people always attempt to do as well as get the very best. New understanding, experience, session, as well as everything that can enhance the life will certainly be done. However, lots of people in some cases feel puzzled to obtain those points. Feeling the minimal of experience as well as resources to be far better is among the lacks to have. Nonetheless, there is a really easy thing that could be done. This is just what your educator always manoeuvres you to do this one. Yeah, reading is the answer. Checking out an e-book as this Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt as well as various other referrals can improve your life quality. How can it be?

Windows Forms 2.0 Programming (Microsoft .NET Development Series), by Chris Sells, Michael Weinhardt

Ebook Windows Forms 2.0 Programming (Microsoft .NET Development Series), by Chris Sells, Michael Weinhardt
Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt How can you alter your mind to be more open? There numerous resources that can help you to boost your thoughts. It can be from the various other encounters and story from some individuals. Reserve Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt is one of the trusted sources to obtain. You could locate many books that we discuss below in this web site. As well as currently, we reveal you among the most effective, the Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt
Why should be publication Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt Publication is one of the simple sources to search for. By getting the author and theme to obtain, you can locate numerous titles that available their data to acquire. As this Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt, the motivating publication Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt will give you what you have to cover the work target date. And also why should remain in this web site? We will ask first, have you much more times to go with shopping guides and also look for the referred book Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt in book establishment? Many individuals may not have adequate time to find it.
Thus, this web site provides for you to cover your issue. We show you some referred books Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt in all kinds as well as motifs. From typical author to the renowned one, they are all covered to provide in this website. This Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt is you're looked for publication; you simply need to go to the link web page to display in this website and afterwards go for downloading. It will not take sometimes to get one publication Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt It will rely on your net connection. Simply acquisition and download and install the soft documents of this book Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt
It is so easy, isn't it? Why don't you try it? In this site, you can likewise find other titles of the Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt book collections that may have the ability to assist you finding the very best solution of your task. Reading this publication Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt in soft file will additionally ease you to get the source conveniently. You might not bring for those publications to somewhere you go. Just with the device that consistently be with your almost everywhere, you could read this book Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt So, it will certainly be so rapidly to finish reading this Windows Forms 2.0 Programming (Microsoft .NET Development Series), By Chris Sells, Michael Weinhardt

Aimed at programmers with a basic understanding of C# and the .NET framework, this book strikes a balance between theory and practice.
- Sales Rank: #712956 in Books
- Brand: Sells, Chris/ Weinhardt, Michael/ Boulter, Mark (FRW)
- Published on: 2006-05-26
- Original language: English
- Number of items: 1
- Dimensions: 9.00" h x 2.00" w x 7.00" l, 3.26 pounds
- Binding: Paperback
- 1296 pages
From the Back Cover
“Some books are different-the content can't be Googled from the Internet, the authors have real-life experiences to share, the code can be used in real-world projects. This is one of those books.”
–Neal Myrddin, Independent Developer
“Chris and Michael nail the soul of Windows Forms 2.0. This book provides an insightful view into the design of Windows Forms and the integration of new 2.0 features. It is just as applicable for the first-time Windows Forms programmer as the seasoned line of business developer. The ‘What’s New in 2.0’ appendix is worth the price of admission alone.”
–Mike Harsh, Windows Forms Program Manager, Microsoft, Inc.
“This book takes an amazingly broad and deep technology, and breaks it into manageable pieces that are easily consumed. You cannot survive building a complex WinForms application without this book.”
–Ryan Dorrell, Chief Technology Officer, AgileThought
“Windows Forms 2.0 Programming offers something for every .NET developer. Experienced developers will appreciate the in-depth coverage of new 2.0 features, including the most comprehensive coverage of ClickOnce deployment, multithreading, and the new designer integration found anywhere. Developers new to Winforms programming will appreciate the coverage of the fundamentals all Winforms developers need to know. Whether you’re an experienced WinForms developer or just beginning, you need this book.”
–Fritz Onion, cofounder of Pluralsight, author of Essential ASP.NET, and ASP.NET MVP
“I don’t want just a description of the WinForms widgets. I can get that online or from other books. What I want is a roadmap for pitfalls to avoid, and innovative solutions for common problems. That is where this book shines. All of us who found the first edition of this book to be an indispensible part of our reference library will appreciate this updated edition that describes WinForms 2.0.”
–Johan Ericsson, Software Engineer, Agilent Technologies
“The books Chris Sells writes are always insightful and this newest addition is no different. This book in particular is for those who want to understand not just the flashy surface of Windows Forms 2.0, but also how it fits into the .NET environment. Readers will have this book at their desks, not stuck on their shelves, for quite a long time.”
–Yoshimatsu Fumiaki, Software Engineer based in Tokyo Japan
“Chris and Mike have done an excellent job presenting the information you need to be successful with Windows Forms.”
–Jessica Fosler, Dev Tech Lead, Microsoft
“This book is the ‘must have’ teaching and reference book for WinForms 2.0.”
–Jim Rittenhouse, Senior Software Engineer, Siemens
Windows Forms 2.0 Programming is the successor to the highly praised Windows Forms Programming in C#. This edition has been significantly updated to amalgamate the sheer mass of new and improved support that is encompassed by Windows Forms 2.0, the .NET Framework 2.0, and Visual Studio 2005. This is the one book developers need in order to learn how to build and deploy leading-edge Windows Forms 2.0 applications.
Readers will gain a deep understanding from Sells and Weinhardt’s practical, well-balanced approach to the subject and clear code samples.
• Windows Forms 2.0 fundamentals, including forms, dialogs, data validation, help, controls, components, and rendering
• Static and dynamic layout, snap lines, HTML-style flow and table layout, automatic resizing, and automatic cross-DPI scaling
• Office 2003-style tool strip control coverage, including dynamic layout and custom rendering
• Design-time integration with the Visual Studio 2005 Properties Window and Smart Tags
• Resource management, strongly typed resources, and internationalization considerations
• Strongly typed application and user settings
• SDI, MDI, Single Instancing, Multiple-Instance SDI, Single-Instance MDI, database-centric, and document-centric applications
• Databinding data-source management, drag-and-drop databinding, the BindingSource, the BindingNavigator, and applied databinding
• Events, delegates, multithreaded UIs, long-running operations, simplified multithreading with the BackgroundWorker, and asynchronous web service calls
• ClickOnce application development publishing, shell integration, and partial trust security
• Best practices for developers transitioning from Windows Forms 1.0 and MFC
About the Author
Chris Sells is a program manager for the Connected Systems Division. He’s written several books, including Programming Windows Presentation Foundation (O’Reilly), Windows Forms Programming in C# (Addison-Wesley), and ATL Internals (Addison-Wesley). In his free time, Chris hosts various conferences and makes a pest of himself on Microsoft internal product team discussion lists. More information about Chris–and his various projects–is available at www.sellsbrothers.com.
Michael Weinhardt is a programmer/writer at Microsoft, working on the Windows Client SDK. Michael has coauthored a variety of articles with Chris, contributed to the “Wonders of Windows Forms” column at MSDN Online, reviewed several Windows technology books, and generally loves communicating the whys and wherefores of technology to his peers. Michael is sure that his parents attribute his fascination in technology to their purchase of an Amiga 1000 in the mid-80s. They would be right.
Excerpt. © Reprinted by permission. All rights reserved.
Preface
Windows 1.0 programmers had a straightforward life. They had almost no choices about how to do things; either there was an application programming interface (API), or there wasn’t, and most of the time there wasn’t. This meant that developers had to build almost everything by hand. At the time, this wasn’t a problem. All Windows programmers had the same limitations, so everyone’s apps more or less operated with the same limited set of functionality.
A modern Windows developer, on the other hand, is inundated with choices. The invention of the web alone gives us static Hypertext Markup Language (HTML), server-based user interface (UI) interaction via ASP.NET, and client-side UI interaction via ActiveX controls or AJAX (to name a few).1 On the client side, we have native frameworks like Microsoft Foundation Classes (MFC), Active Template Library (ATL), and the next-generation managed framework known as the Windows Presentation Foundation (WPF is part of WinFX, the follow-on to the .NET Framework). How does a developer choose? Where does Windows Forms 2.0, the topic of this book, fit into this pantheon?
1 AJAX stands for Asynchronous JavaScript and XML, as defined by Jesse James Garrett, “Ajax: A New Approach to Web Applications,” http://www.adaptivepath.com/publications/essays/archives/000385.php (http://tinysells.com/38).
Client technologies on Windows provide a range of reach and richness in inverse proportion to each other. Reach is the ability of a user interface (UI) to work across operating systems, whereas richness is the ability for a UI to take advantage of the operating system on which it runs. So even though static HTML works almost everywhere, to the extent that your HTML uses client-side JScript, reach is diminished for browsers that don’t support the scripting constructs being used. Even further down the reach scale are ActiveX controls, which work only on Windows but allow full access to its richness.2
2 At one point, the Component Object Model (COM) and ActiveX were made to work across platforms, but they have long since been relegated to Windows only.
At the other extreme we have WPF, a completely new managed framework built on top of DirectX. WPF encompasses documents, layout, animation, 2-D, 3-D, text, and graphics primitives in a single, cohesive whole. This framework provides the richest client technology that Microsoft has ever built, and it takes maximum advantage of the platform on which it runs, including any hardware 3-D graphics acceleration that may be available. However, at the time of this writing, WPF has not yet shipped and works only under Windows XP, Windows Server 2003, and Windows Vista.3
3 WinFX (which inclues WPF) and Windows Vista are scheduled to ship in 2006.
Where does that leave Windows Forms 2.0? It doesn’t quite offer the richness of WPF, but it’s far richer than the HTML-based technologies. Windows Forms 2.0 also is much richer than Windows Forms 1.0, with greatly enhanced support for flexible layout, modern menu strip and tool strip controls, data binding, multithreading, typed resources and settings, and, most importantly, ClickOnce deployment.
With ClickOnce, for the first time, users can deploy Windows applications as easily as web applications. Even better, ClickOnce allows Windows applications to be installed locally, integrated with the Start menu, and accessed even if no network connection is available. These options are not available for users of Web applications.
So Windows Forms 2.0 is high on the richness scale, but what about the reach scale? Unlike web applications, Windows Forms requires that users’ machines operate on Windows, specifically Windows 98 or later for PCs. However, it also supports other devices, such as Pocket PCs or Smartphones, via the .NET Compact Framework. This means that you can write a Windows Forms 2.0 application and run it on your Windows smartphone.
Based on this level of richness and reach, what kinds of applications should you build with Windows Forms? As it turns out, folks have used Windows Forms to build almost every kind of application, including productivity applications, utilities, enterprise tools, and more—even games. Windows Forms can be used to build smaller things, such as Microsoft’s own internal human resources application (called HeadTrax), or larger things, such as most of the UI enhancements that have been built on top of Visual Studio since the 2002 edition. This range of applications can be built because of Windows Forms’ range of features and tools, its reach, and, as of this version, the maturity of the implementation based on community usage and feedback.
In fact, the .NET developer community has embraced Windows Forms to a degree that defies the early .NET focus on web-based applications. Based on talking to my friends in the training industry and on the sales of the first edition of this book, I conclude that a large and growing number of developers write Windows Forms applications. It’s for those developers that we’ve written this book.
Who Should Read This Book?
When writing this book, we wanted to provide real-world Windows Forms coverage for programmers who’ve programmed in .NET—and those who haven’t. To that end, we briefly introduce core .NET topics as they come up. However, we don’t pretend to cover the .NET Framework completely. It’s too large a topic. Instead, when we think more information would be useful, we reference another work that provides the full details. In particular, you’ll find that we’ve referenced Essential .NET, by Don Box, with Chris Sells, a great deal, making it a good companion to this book. In the same category, we also recommend Advanced .NET Remoting, by Ingo Rammer, and Applied Microsoft .NET Framework Programming, by Jeffrey Richter. (For more details on these books, see the Bibliography.)
One core .NET topic is of special importance to Windows Forms programmers, and we cover it in more detail in Appendix C: Delegates and Events. This coverage is particularly important if you’re new to .NET, although we don’t recommend diving into that topic until you’ve got a Windows Forms-specific frame of reference (which is provided about one-third of the way through Chapter 1: Hello, Windows Forms).
Also of particular importance to former (or soon-to-be former) MFC programmers, we’ve provided Appendix B: Moving from MFC, and Appendix F: Document Management. Although Windows Forms doesn’t provide all the features of MFC, we’ve worked hard on the material and code samples in this book to plug most of the gaps.
One other note: Many years ago, one of the authors wrote his first five-day training course. The topic, Windows 95, included a few hours of coverage on the new controls: what they looked like, what their properties, methods, and events were, and how to program against them. Those hours seemed like days for everyone involved. The details of a particular control are interesting only when you’re putting it to use, and when that time comes, the control-specific documentation and Visual Studio’s IntelliSense help support do a marvelous job of giving you the information you need.
To that end, this book covers none of the standard controls completely. Instead, when a control is interesting in the context of the current topic—such as the DataGridView control in Chapter 17: Applied Data Binding—we cover that control appropriately. Also, to give you a list of all the components and controls and to introduce you to each one’s major functionality, Appendix D: Component and Control Survey provides a list of the standard controls and components. We wouldn’t think of wasting your time by attempting to be more thorough than the reference documentation that comes with the .NET Framework software development kit (SDK) and Visual Studio 2005. Instead, this book focuses on the real-world scenarios that aren’t covered in detail elsewhere. Finally, to help you understand the differences between components and controls and how to build both, we’ve provided Chapter 9: Components and Chapter 10: Controls.
Conventions
If you’ve decided to take the plunge with this book, we’d like to thank you for your faith and express our hope that we live up to it. To aid you in reading the text, we want to let you in on some conventions we use.
First, there is the mode of address that we use throughout the book (except for this preface). Because Chris and Michael worked so closely and so hard on every word in this book, the use of “I” really means “both authors,” whereas the use of “we” means “the authors and you.” Although we sometimes use “you” directly, Michael and Chris lean toward the inclusive.
The wonderful thing about Windows Forms is how visual it is, and that’s why we use a lot of figures to illustrate its features. Some of those pictures really need to be in color to make the point, so be sure to check the color pages at the center of this book for those color plates.
As useful as figures are, we both think primarily in code. Code is shown in monospace type:
System.Console.WriteLine("Hello, Windows Forms.");
Console application activation is also shown in monospace type:
C:\> csc.exe hello.cs
When a part of a code snippet or a command line activation is of particular interest, we mark it in bold and often provide a comment:
// Notice the use of the .NET System namespace
System.Console.WriteLine("Hello, Windows Forms.");
When we want to direct your attention to a piece of code more fully, we replace superfluous code with ellipses:
class MyForm : System.Windows.Forms.Form {
... // fields
private void MyForm_Load(
object sender, System.ComponentModel.EventArgs e) {
MessageBox.Show("Hello from MyForm");
}
}
Furthermore, to make the printed code more readable, we often drop namespaces and protection keywords when they don’t provide additional information:
// Shortened "System.Windows.Forms.Form" base class
class MyForm : Form {
... // fields
// Removed "private" specifier and "System.ComponentModel" namespace
void MyForm_Load(object sender, EventArgs e) {
MessageBox.Show("Hello from MyForm");
}
}
When showing .NET attributes, we use their abbreviated name:
Serializable // Instead of SerializableAttribute
class MyCustomType {...}
C# lets you drop the “Attribute” suffix for convenience, but remember to append this suffix when you look up the details of the attribute class in the online documentation.
For clarity, we sometimes omit error checking from the printed code, but we try to leave it in the sample code that you’ll find at our web site.
In the text, we often put a word or phrase in italics to indicate a new term that we’re about to define. As an example of this kind of term and its definition, hegemony is a preponderant influence or authority, as well as a potent business practice.
Sometimes, we mention keyboard shortcuts because we find them convenient. The ones I mention are the default Visual Studio 2005 (VS05) key bindings for C# programmers. If you’re not using those key bindings, you’ll need to map the keyboard shortcuts to your own settings.
Finally, because this is the second edition of this book, we’ve taken care to mark new and updated types in the margins with graphics and in the code with comments. Also, for a summary of what’s new in Windows Forms, check out Appendix A: What’s New in Windows Forms 2.0.
Most helpful customer reviews
4 of 5 people found the following review helpful.
Best book(s) I've found on Windows Forms programming
By Jeff T.
I purchased the first edition of this book not long after it came out and subsequently bought this, the second edition (covering .NET 2.0). These are the best books I've found for Windows Forms programming.
One of the problems I've had with other books (e.g. the books by Charles Petzold) is that they will often show several ways to do the same thing with no discussion as to the advantages and drawbacks to each. In Windows Forms Programming, the authors get to the point and concisely explain the reasoning behind the code shown. As an example, in the beginning of the first chapter they start with creating your main form and displaying it - just a few lines of code. But they show that there are a few ways one might consider doing this which are wrong and explain why, going on to show the canonical way to start your app's main form. With experience, what they show seems obvious but as someone new to Windows programming I found this instructive. The Windows API is huge for someone coming to it for the first time and there are often many different ways to do a one thing. I felt like this text gave me some of the same 'group wisdom' that I got from many of the great Unix programming texts I've used in the past (APUE by Stevens for example). Just because something can be done a particular way doesn't mean it's the best/'right' way to do something and this text seemed to show just that.
I also found the writing style very readable. This book didn't strike me as being for completely inexperienced/beginner programmers, but it's completely accessible for beginning Windows programmers with clear explanations that were just the right length. Based on other books I've purchased, I've found that most other authors in this area seem to enjoy explaining and will use 20 words where 10 will do. I won't mention any more names of competing authors, but I hate reading programming texts that spend half their time trying to be witty with silly chapter titles and long-winded text. I don't like going back to look something up just to find, e.g., a chapter entitled "Console Thyself". I want to get the information quickly and get back to work. This book seemed logically structured and until now moving to WPF, I referenced the text often.
Highly recommended.
4 of 4 people found the following review helpful.
You will keep this copy even when .net framework will get its 7th version
By Nachman B. Yochay
When great brains gathered to write about the most popular development platform over the (yet) most popular operating system, the result is enjoyable journey in the .Net fields.
All major subjects are covered with unique Sellsy humor that delivered the C# Bedtime Story and such.
This book is recommended even to those who write Asp.Net apps since its dealing with the .Net fundamentals.
5 of 6 people found the following review helpful.
"The book" for Windows Forms 2.0 programming
By Corrado Cavalli
If you do serious Windows programming this is a must have book.
Chris and Michael covered nearly every aspect of Windows 2.0 programming, from "Hello World" to ClickOnce, from GDI+ to Databinding in a pleasant to read big book where every argument is described in a detailed way.
I recommend this book even if you own previous release, it has nearly totally rewritten and (that's what i like most) it emphasize what's new on version 2.0.
See all 35 customer reviews...
Windows Forms 2.0 Programming (Microsoft .NET Development Series), by Chris Sells, Michael Weinhardt PDF
Windows Forms 2.0 Programming (Microsoft .NET Development Series), by Chris Sells, Michael Weinhardt EPub
Windows Forms 2.0 Programming (Microsoft .NET Development Series), by Chris Sells, Michael Weinhardt Doc
Windows Forms 2.0 Programming (Microsoft .NET Development Series), by Chris Sells, Michael Weinhardt iBooks
Windows Forms 2.0 Programming (Microsoft .NET Development Series), by Chris Sells, Michael Weinhardt rtf
Windows Forms 2.0 Programming (Microsoft .NET Development Series), by Chris Sells, Michael Weinhardt Mobipocket
Windows Forms 2.0 Programming (Microsoft .NET Development Series), by Chris Sells, Michael Weinhardt Kindle
^^ Ebook Windows Forms 2.0 Programming (Microsoft .NET Development Series), by Chris Sells, Michael Weinhardt Doc
^^ Ebook Windows Forms 2.0 Programming (Microsoft .NET Development Series), by Chris Sells, Michael Weinhardt Doc
^^ Ebook Windows Forms 2.0 Programming (Microsoft .NET Development Series), by Chris Sells, Michael Weinhardt Doc
^^ Ebook Windows Forms 2.0 Programming (Microsoft .NET Development Series), by Chris Sells, Michael Weinhardt Doc