|
Windows Forms Programming with C# A practical guide to creating Windows applications with .NET Erik Brown 2002 | 752 pages ISBN: 1930110286 |
|||
![]() |
$49.95 | Softbound print book | |
![]() |
$25.00 | PDF ebook | |
Preface
In early 2001 I began using Microsoftís .NET Framework for a project I was working on with a small startup company. Unfortunately, the winds changed and I found myself with more free time than I would normally hope for. So when Manning Publications asked me if I would contribute to a book on programming with the .NET Framework, I welcomed the idea.
As events unfolded, I found myself with some fairly strong opinions about how such a book should be organized, and offered up a proposal to write a solo book on programming Windows Forms applications. I have always enjoyed the book Programming Windows 95 with MFC by Jeff Prosise, so a book about developing Windows-based applications with the .NET Framework seemed like an obvious subject.
The core idea behind my proposal was to build a single application over the course of the book. The application would evolve to introduce each topic, so that by the end of the manuscript readers would have a robust application they had built from scratch. Manning Publications seemed to like the idea as well, and thus I suddenly found myself writing this book.
In approaching the task, I set out to achieve two objectives. The first was to provide ample coverage of most of the classes in the namespace. I have been frustrated by many books that do not provide robust examples for a topic. So I try to provide detailed examples that demonstrate how Windows Forms classes can be used and manipulated in real applications.
A second objective was to present advanced user interface topics such as tree views and drag and drop. While the book spends a good deal of time on fundamental classes, such as menus and buttons, more than a cursory glance is given to some of the more complex controls available for Windows-based programming.
The result of my proposal, these objectives, and a number of late nights is the book you see before you. I take a tutorial approach to application development by creating a common application throughout the book, and provide summaries of relevant classes and other topics that might be of further interest. Hopefully, this approach provides enough detail to demonstrate how Windows-based applications are put together with the .NET Framework, and yet offers additional information that should prove helpful as you develop and expand your own .NET projects.
While the book is not specifically about C# and Visual Studio .NET, the text does attempt to introduce and explain the syntax and usage of C# as well as the features and functionality of Visual Studio .NET. These topics are presented ìalong-the-wayî by introducing relevant concepts and features as they are used in the examples. An overview of C# is also provided in appendix A at the back of the book.
DESCRIPTION
In the .NET environment, GUI elements like menus, buttons, lists, trees--and of course the window itself--are created and deployed using the new Windows Forms framework. Windows Forms is an object-oriented set of classes that offers an effective, modern programming environment for rich Windows applications development.
Intended for beginner and intermediate programmers willing to get their hands dirty, this book teaches by example. Step-by-step instructions guide the reader through the entire Windows Forms namespace. Examples build around a common theme, collectively developing a real-world application. The book covers fundamentals like labels, menus, buttons, as well as advanced concepts like owner-drawn lists, explorer-style interfaces, customized data binding, and the integration of the Microsoft web browser control into a Windows program. Appendices include a 30-page reference to the C# language and a handy visual index of the Windows Forms classes.
What's Inside:
- Owner-drawn list boxes
- List and tree views
- Multiple document interfaces
- Data grids and data binding
- Drag and drop
- How to implement, among other things:
- reusable libraries
- auto-filled combo boxes
- keyboard and mouse processing
- printing and print previewing
- embedded web browsers

