Windows Forms 2.0 Programming, 2/e (Paperback)
暫譯: Windows Forms 2.0 程式設計 (第二版)

Chris Sells, Michael Weinhardt

  • 出版商: Addison Wesley
  • 出版日期: 2006-05-01
  • 售價: $1,520
  • 語言: 英文
  • 頁數: 1032
  • 裝訂: Paperback
  • ISBN: 0321267966
  • ISBN-13: 9780321267962
  • 已絕版

買這商品的人也買了...

商品描述

Description

“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 


 

Table of Contents

About the Authors  xxv

Foreword  xxvii

Preface  xxxi

Chapter 1     Hello, Windows Forms  1

Chapter 2     Forms  41

Chapter 3     Dialogs  99

Chapter 4     Layout  137

Chapter 5     Drawing Basics  179

Chapter 6     Drawing Text  231

Chapter 7     Advanced Drawing  265

Chapter 8     Printing  291

Chapter 9     Components  327

Chapter 10   Controls  353

Chapter 11   Design-Time Integration: The Properties Window  399

Chapter 12   Design-Time Integration: Designers and Smart Tags  453

Chapter 13   Resources  505

Chapter 14   Applications  549

Chapter 15   Settings  579

Chapter 16   Data Binding Basics  629

Chapter 17   Applied Data Binding  681

Chapter 18   Multithreaded User Interfaces  737

Chapter 19   ClickOnce Deployment  775

Appendix A    What’s New in Windows Forms 2.0  829

Appendix C    Delegates and Events  867

Appendix D    Component and Control Survey  881

Appendix E    Drag and Drop  901

Appendix F    Document Management  927

Bibliography  957

Index  961

商品描述(中文翻譯)

**描述**

“有些書籍是不同的——內容無法從互聯網上搜尋到,作者有真實的經驗可以分享,代碼可以用於實際的項目。這就是其中一本書。”
–Neal Myrddin,獨立開發者

“Chris 和 Michael 精準地捕捉了 Windows Forms 2.0 的精髓。這本書提供了對 Windows Forms 設計及新 2.0 功能整合的深刻見解。對於第一次接觸 Windows Forms 的程式設計師和經驗豐富的業務開發者來說,這本書同樣適用。‘2.0 的新功能’ 附錄的價值就足以讓這本書值得購買。”
–Mike Harsh,微軟 Windows Forms 程式經理

“這本書將一個極其廣泛且深入的技術,拆解成易於理解的可管理部分。沒有這本書,你無法成功構建一個複雜的 WinForms 應用程式。”
–Ryan Dorrell,AgileThought 首席技術官

《Windows Forms 2.0 Programming》為每位 .NET 開發者提供了有價值的內容。經驗豐富的開發者將會欣賞對新 2.0 功能的深入探討,包括 ClickOnce 部署、多執行緒和新的設計器整合的最全面的介紹。對於剛接觸 WinForms 程式設計的開發者來說,這本書涵蓋了所有 WinForms 開發者需要了解的基本知識。無論你是經驗豐富的 WinForms 開發者還是剛起步,你都需要這本書。
–Fritz Onion,Pluralsight 共同創辦人,《Essential ASP.NET》作者,ASP.NET MVP

“我不想要僅僅是 WinForms 控件的描述。我可以在網上或其他書籍中找到這些。我想要的是避免陷阱的路線圖,以及針對常見問題的創新解決方案。這本書正是這方面的亮點。所有認為這本書第一版是我們參考資料庫中不可或缺的一部分的人,將會欣賞這本描述 WinForms 2.0 的更新版。”
–Johan Ericsson,Agilent Technologies 軟體工程師

“Chris Sells 寫的書總是充滿洞見,這本最新的書也不例外。這本書特別適合那些想要了解 Windows Forms 2.0 不僅僅是表面華麗,而是如何融入 .NET 環境的人。讀者將會把這本書放在桌上,而不是擱置在書架上很長一段時間。”
–Yoshimatsu Fumiaki,東京日本的軟體工程師

“Chris 和 Mike 在提供成功使用 Windows Forms 所需的信息方面做得非常出色。”
–Jessica Fosler,微軟開發技術主管

“這本書是 WinForms 2.0 的‘必備’教學和參考書。”
–Jim Rittenhouse,西門子高級軟體工程師

《Windows Forms 2.0 Programming》是備受讚譽的《Windows Forms Programming in C#》的後續作品。本版已大幅更新,以整合 Windows Forms 2.0、.NET Framework 2.0 和 Visual Studio 2005 所涵蓋的大量新功能和改進支持。這是開發者學習如何構建和部署尖端 Windows Forms 2.0 應用程式所需的唯一一本書。

讀者將從 Sells 和 Weinhardt 實用且平衡的主題探討及清晰的代碼範例中獲得深入的理解。

- Windows Forms 2.0 基礎知識,包括表單、對話框、數據驗證、幫助、控件、組件和渲染
- 靜態和動態佈局、對齊線、HTML 風格的流式和表格佈局、自動調整大小和自動跨 DPI 縮放
- Office 2003 風格的工具條控件覆蓋,包括動態佈局和自定義渲染
- 與 Visual Studio 2005 屬性窗口和智能標籤的設計時整合
- 資源管理、強類型資源和國際化考量
- 強類型的應用程式和用戶設置
- SDI、MDI、單實例、多實例 SDI、單實例 MDI、以數據庫為中心和以文檔為中心的應用程式
- 數據綁定數據源管理、拖放數據綁定、BindingSource、BindingNavigator 和應用數據綁定
- 事件、委託、多執行緒 UI、長時間運行的操作、使用 BackgroundWorker 簡化多執行緒和異步 Web 服務調用
- ClickOnce 應用程式開發發布、外殼整合和部分信任安全
- 從 Windows Forms 1.0 和 MFC 過渡的開發者最佳實踐

**目錄**

關於作者 xxv
前言 xxvii
序言 xxxi
第 1 章 你好,Windows Forms 1
第 2 章 表單 41
第 3 章 對話框 99
第 4 章 佈局 137
第 5 章 繪圖基礎 179
第 6 章 繪製文本 231
第 7 章 高級繪圖 265
第 8 章 列印 291
第 9 章 組件 327
第 10 章 控件 353
第 11 章 設計時整合:屬性窗口 399
第 12 章 設計時整合:設計器和智能標籤 453
第 13 章 資源 505
第 14 章 應用程式 549
第 15 章 設置 579
第 16 章 數據綁定基礎 629
第 17 章 應用數據綁定 681
第 18 章 多執行緒用戶界面 737
第 19 章 ClickOnce 部署 775
附錄 A Windows Forms 2.0 的新功能 829
附錄 C 委託和事件 867
附錄 D 組件和控件調查 881
附錄 E 拖放 901
附錄 F 文檔管理 927
參考文獻 957
索引 961