Programminig .Net Windows Applications
暫譯: 編寫 .Net Windows 應用程式
Jesse Liberty, Dan Hurwitz
- 出版商: O'Reilly
- 出版日期: 2003-11-18
- 售價: $2,060
- 貴賓價: 9.5 折 $1,957
- 語言: 英文
- 頁數: 1248
- 裝訂: Paperback
- ISBN: 0596003218
- ISBN-13: 9780596003210
-
相關分類:
.NET、Windows App
已過版
買這商品的人也買了...
-
$650$553 -
$980$833 -
$880$695 -
$1,920$1,824 -
$590$466 -
$690$538 -
$780$663 -
$880$792 -
$750$638 -
$620$527 -
$620$527 -
$560$476 -
$2,370$2,252 -
$860$731 -
$550$468 -
$390$304 -
$290$229 -
$480$379 -
$750$638 -
$490$382 -
$620$527 -
$540$427 -
$990$782 -
$650$507 -
$620$527
相關主題
商品描述
Summary
For those of you who develop standalone Windows applications for PCs and other devices, Microsoft's .NET Windows Forms provide a much better way to get it done. This new technology gives you more power and flexibility for a fraction of the effort compared to classic Win32 development, with a streamlined programming model that deals automatically with many tedious details that once plagued developers.
As with most things .NET, the only hitch is the learning curve. But that's where acclaimed author Jesse Liberty makes the difference with Programming .NET Windows Applications. With this tutorial, you will explore all aspects of using .NET Windows Forms class libraries and the associated programming tools in Visual Studio .NET, enabling you to build applications for the Windows 9x, Windows 2000 and Windows XP desktop platforms. Step-by-step, you'll learn ways to design applications that either function alone on a PC, or work in combination with your web-based application server to take advantage of the richer interface and higher level of security.
The book also explains how your new Windows applications can sidestep problems that used to arise from the use of DLLs (known collectively as "DLL hell"), and how .NET Windows Forms can be used as an alternative to ASP.NET and browser-based approaches for building web application clients.
Jesse Liberty definitely knows his stuff when it comes to the .NET platform. As the author of O'Reilly's Programming C# and Learning Visual Basic .NET, he's well-known for his clear and concise style that prompted one reviewer to say, "It's as if he knows exactly what questions I'm going to ask ahead of time." Jesse also co-authored Programming ASP.NET with contract programmer Dan Hurwitz, and now the two have teamed up again to bring you this comprehensive tutorial--without a doubt, the best source available for learning how to program with .NET Windows Forms.
Table of Contents
Preface
1. Windows Forms and the .NET Framework
The .NET Framework
Windows Forms
2. Getting Started
System Requirements
Hello World
3. Visual Studio .NET
Overview
Start Page
Projects and Solutions
The Integrated Development Environment (IDE)
Building and Running
4. Events
Publish and Subscribe
Performance
Some Examples
5. Windows Forms
Web Applications Versus Windows Applications
The Forms Namespace
Form Properties
Forms Inheritance
User Interface Design
6. Dialog Boxes
Modal Versus Modeless
Form Properties
DialogResult
Termination Buttons
Apply Button
CommonDialog Classes
7. Controls: The Base Class
Control Class
8. Mouse Interaction
SystemInformation Properties
Mouse Events
9. Text and Fonts
Text
Fonts
10. Drawing and GDI+
The Drawing Namespace
The Analog Clock Project
11. Labels and Buttons
Label
Button Classes
12. Text Controls
Text
Editable Text Controls: TextBoxBase
RichTextBox
13. Other Basic Controls
Containers
Tabbed Pages
PictureBox
ScrollBar
TrackBar
Up-Down Controls
ProgressBar
14. TreeView and ListView
Class Hierarchy
Splitter
TreeView
ListView
15. List Controls
Class Hierarchy
ListControls
16. Date and Time Controls
Class Hierarchy
Date and Time Values
DateTimePicker
MonthCalendar
Timer Component
17. Custom Controls
Specializing an Existing Control
Creating a User Control
Creating Custom Controls from Scratch
18. Menus and Bars
Creating Your First Menu
The MainMenu Object
Toolbars
Writing It by Hand
Status Bars
19. ADO.NET
Bug Database: A Windows Application
The ADO.NET Object Model
Getting Started with ADO.NET
Managed Providers
Binding Data
Data Reader
Creating a DataGrid
20. Updating ADO.NET
Updating with SQL
Updating Data with Transactions
Updating Data Using DataSets
Multiuser Updates
Command Builder
21. Exceptions and Debugging
Bugs Versus Exceptions
Exceptions
Throwing and Catching Exceptions
Bugs
Debugging in Visual Studio .NET
Assert Yourself
22. Configuration and Deployment
Class Hierarchy
Configuration
Assemblies
Build Configurations
Deployment
Appendix:. Characters and Keys
Index
商品描述(中文翻譯)
**摘要**
對於那些為個人電腦及其他設備開發獨立 Windows 應用程式的開發者來說,微軟的 .NET Windows Forms 提供了一種更好的解決方案。這項新技術相比於傳統的 Win32 開發,能以更少的努力提供更多的功能和靈活性,並且擁有一個簡化的程式設計模型,自動處理許多曾經困擾開發者的繁瑣細節。
與大多數 .NET 相關的事物一樣,唯一的障礙是學習曲線。但這正是著名作者 Jesse Liberty 透過《Programming .NET Windows Applications》所帶來的不同之處。在這本教程中,您將探索使用 .NET Windows Forms 類庫及其在 Visual Studio .NET 中的相關程式設計工具的所有方面,使您能夠為 Windows 9x、Windows 2000 和 Windows XP 桌面平台構建應用程式。您將逐步學習設計應用程式的方法,這些應用程式可以獨立運行於 PC 上,或與您的基於網頁的應用程式伺服器結合使用,以利用更豐富的介面和更高的安全性。
本書還解釋了您的新 Windows 應用程式如何避免過去因使用 DLL(統稱為「DLL 地獄」)而產生的問題,以及如何將 .NET Windows Forms 作為 ASP.NET 和基於瀏覽器的方法的替代方案來構建網頁應用程式客戶端。
Jesse Liberty 在 .NET 平台方面確實非常精通。作為 O'Reilly 的《Programming C#》和《Learning Visual Basic .NET》的作者,他以清晰簡潔的風格而聞名,讓一位評論者表示:「就好像他知道我將要問的問題。」Jesse 還與合約程式設計師 Dan Hurwitz 共同撰寫了《Programming ASP.NET》,現在兩人再次合作,為您帶來這本全面的教程——無疑是學習如何使用 .NET Windows Forms 編程的最佳資源。
**目錄**
前言
1. Windows Forms 和 .NET Framework
.NET Framework
Windows Forms
2. 開始使用
系統需求
Hello World
3. Visual Studio .NET
概述
開始頁
專案與解決方案
整合開發環境 (IDE)
建置與執行
4. 事件
發佈與訂閱
性能
一些範例
5. Windows Forms
網頁應用程式與 Windows 應用程式
Forms 命名空間
表單屬性
表單繼承
使用者介面設計
6. 對話框
模態與非模態
表單屬性
DialogResult
終止按鈕
應用按鈕
CommonDialog 類別
7. 控制項:基礎類別
控制項類別
8. 滑鼠互動
SystemInformation 屬性
滑鼠事件
9. 文字與字型
文字
字型
10. 繪圖與 GDI+
繪圖命名空間
類比時鐘專案
11. 標籤與按鈕
標籤
按鈕類別
12. 文字控制項
文字
可編輯文字控制項:TextBoxBase
RichTextBox
13. 其他基本控制項
容器
標籤頁
PictureBox
ScrollBar
TrackBar
Up-Down 控制項
ProgressBar
14. TreeView 和 ListView
類別層次結構
分隔器
TreeView
ListView
15. 列表控制項
類別層次結構
ListControls
16. 日期和時間控制項
類別層次結構
日期和時間值
DateTimePicker
MonthCalendar
計時器元件
17. 自訂控制項
專門化現有控制項
創建使用者控制項
從頭開始創建自訂控制項
18. 菜單與工具列
創建您的第一個菜單
MainMenu 物件
工具列
手動編寫
狀態列
19. ADO.NET
錯誤資料庫:一個 Windows 應用程式
ADO.NET 物件模型
開始使用 ADO.NET
管理提供者
綁定資料
資料讀取器
創建 DataGrid
20. 更新 ADO.NET
使用 SQL 更新
使用交易更新資料
使用 DataSets 更新資料
多使用者更新
Command Builder
21. 異常與除錯
錯誤與異常
異常
拋出與捕獲異常
錯誤
在 Visual Studio .NET 中除錯
自我驗證
22. 配置與部署
類別層次結構
配置
組件
建置配置
部署
附錄:字符與鍵
索引