此商品已下架,若仍需天瓏代為查詢或代購書籍,請與門市客服人員聯繫,或 E-mail 至 service@tenlong.com.tw 將有專人為您服務。

C# for Windows Programming
暫譯: C# 在 Windows 程式設計中的應用

Chris H. Pappas, William H. Murray

  • 出版商: Prentice Hall
  • 出版日期: 2001-12-15
  • 定價: $1,575
  • 售價: 5.0$788
  • 語言: 英文
  • 頁數: 560
  • 裝訂: Paperback
  • ISBN: 0130932876
  • ISBN-13: 9780130932877
  • 相關分類: C#
  • 立即出貨(限量) (庫存=4)

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

商品描述

Jump into the future of Windows application programming with C#!

  • Powerful, rapid-development C# taught by the experts
  • Complete code examples make learning easy!
  • Includes two case study chapters presenting complete applications

C# is a new object-oriented programming language that combines the power and flexibility of C++ with the ease of Visual Basic(r). C# offers a radical departure from the traditional Windows application development process, and C# for Windows Programming gives you everything you need to get started in this next wave of Windows application programming.

Using their classroom-proven techniques, pioneering C# instructors Chris H. Pappas and William H. Murray examine the key features of C#, compare them with those of C and C++, develop working code, and discuss programming strategies. With C# for Windows Programming, you will be able to grasp all the key concepts of C# quickly and easily.

  • Learn C# essentials using Pappas and Murray's classroom proven techniques
  • Complete, working code examples walk you through concepts step by step
  • Includes case study chapters presenting financial and charting applications
  • Be among the first to learn the next need-to-know language!

Programmers and professionals already familiar with Visual Basic or C++ will find C# for Windows Programming the best way to get up to speed on C# quickly and easily!

Table of Contents

1. A Radically New Approach: C# and Windows.

Visual Studio .NET and C#. Building C# Applications. Additional Program Details. C# Programming Elements. Arrays. Attributes, Events, Indexers, Properties, and Versioning. Attributes. Events. Indexers. Properties. Versioning. Boxing, Unboxing, and Unified Type System. Classes, Structures, and Enum. Classes. Structures. Enum. Namespaces. Predefined Types. Statements. Blocks. Miscellaneous Statements. The do Statement. The foreach Statement. The if and if-else Statements. The Label and goto Statements. The switch (case-break) Statement. The while Statement. Value and Reference Types. Your first C# Windows Application. Additional Program Details. Namespaces. The Form. Designer Variables. Initializing Components. The Event Handler. The End. Summary.


2. User Interface Design Fundamentals.

Just Yesterday (or So It Seems). Why Use C# for Windows Projects? The C# Language and Windows Applications. Programming Based on Events. The Visual Studio Tools for C#. Standard Controls. Control Properties. Altering Default Control Properties. A Fast Method of Changing Properties for Several Controls. Object Names and Labels. Event Handlers. Changing Properties With Code. Creating Good User Interfaces. Elements of Good Design. Using the Grid. Control Fundamentals. Selecting a Control. Moving and Resizing Controls. The Tiny Control. Deleting a Control. Duplicating Controls. A Sales Tax Calculator. Sizing a Form. Selecting and Placing Label Controls. Selecting and Placing TextBox Controls. Designing With Additional Controls. GroupBox Control. CheckBox Control. RadioButton Control. ComboBox Control. ListBox Control. Horizontal and Vertical ScrollBar Controls. Timer Control. Good Design Techniques.


3. Design Time Control Properties.

Properties. Property Details. Changing Properties. Button Properties. CheckBox Control Properties. ColorDialog Box Control Properties. ComboBox Control Properties. DateTime Picker Properties. FontDialog Properties. Form Color Properties. GroupBox Control Properties. HscrollBar and VscrollBar Control Properties. Label Control Properties. ListBox Control Properties. MainMenu Properties. MonthCalendar Properties. PictureBox Control Properties. ProgressBar Properties. RadioButton Control Properties. TextBox Control Properties. ToolBar Properties. TrackBar Properties. Controlling Properties With Code.


4. Run Time Control Properties.

Coding Controls. Properties Plus Code. Event Handlers. Attaching Code to Objects. Dynamically Modifying Control Properties. Button Properties. CheckBox Control Properties. DateTimePicker Properties. Form Color Properties. HscrollBar and VscrollBar Control Properties. Label Control Properties. ListBox Control Properties. MonthCalendar Properties. PictureBox Control Properties. ProgressBar Properties. RadioButton Control Properties. TextBox Control Properties. TackBar Properties. Another Pass at the Sales Tax Calculator. Right Control, Right Job. Project Code. Looking Ahead.


5. Events.

A Quick Review of Event Handlers. Events. Activate. ButtonClick. ButtonDropDown. CheckStateChanged. CheckedChanged. Click. Closed. CloseUp. Closing. DateChanged. DateSelected. Deactivate. DoubleClick. DragDrop. DragEnter. DragLeave. DragOver. DrawItem. Enter. Format. FormatQuery. Give Feedback. Help. InputLangChange. InputLangChangRequest. KeyDown. KeyPress. KeyUp. Layout. Leave. MDIChildActivate. MenuComplete. MenuStart. MouseDown. MouseEnter. MouseHover. MouseLeave. MouseMove. MouseUp. Move. PanelClick. QueryContinueDrag. Resize. Scroll. TextChanged. UserString. Validated. Validating. ValueChanged. Events, Events, Events.


6. Input. Controls and Forms. Using TextBox Controls. TextBox ScrollBars. Speeding? Who Me? Using RadioButton Controls. Using CheckBox Controls. Using ScrollBar Controls. Mouse. More Input?
7. Multiple Forms, Menus and Common Dialog Boxes.

Multiple Forms. Menus. Coding Menu Items. Placing Check Marks on Menu Selections. Common Dialog Boxes. Adding a ColorDialog Dialog Box. ColorDialog Dialog Box Properties. The CommDialog1 Project Code. Adding a FontDialog Dialog Box. FontDialog Dialog Box Properties. The CommDialog2 Project Code. Unique User Input.


8. Output.

Send It Out. MessageBox Output. Output With TextBox or Label Controls. Output With a Multiline TextBox Control. Tabular Output Using a TextBox Control. Tabular Output Using a Form. Output to a Printer. Other Output Techniques and Formatting.


9. Graphics Fundamentals.

The System.Drawing Namespace. Graphics Class Details. System.Drawing.Drawing2D Namespace. Graphics Class Details. The Graphics Class for C#. Coordinate System. Drawing Surfaces. Graphics Properties. Colors Line Drawing Styles. Brush Fill Styles. The DrawAndFill Project. Graphics Drawing Primitives. DrawArc. DrawEllipse. DrawLine. DrawPie. DrawPolygon. DrawRectangle. DrawString. FillElipse. FillPie. FillPolygon. FillRectangle. The DrawingPrimitives Project. Other Graphical Techniques.


10. Pictures And Graphics.

Displaying an Image or Picture. Bitmap Project Code. A Simple Animation Example. Flags Project Code. A Charting Project. BarChart Project Code. Code for Form1. Code for Form2. Testing the BarChart Project. What's Coming?


11. Numeric Examples.

Base Change Calculator. Prime Number Counter. Trigonometric Table. Form2. Form1. Finding Number of Days in a Month. Time of Day. Statistics. Sort. What's Coming?


12. Financial Applications.

Regular Deposits in an Account. Developing the Future Value Code. Invest Regularly and Reap the Benefits. Regular Withdrawals From an Account. Developing The Project Code for Regular Withdrawals. Stretching Out a Retirement Pension. Depreciation of an Asset. Attaching Code to the Form. Asset Depreciation and Data Sharing. Payment on a Loan. Developing Code for Payments on a Loan. Viewing Loan Payment Options. A Mortgage Amortization Table. Coding the Mortgage Projects. Form2 Code. Form1 Code. A Possible Income Tax Deduction. What's Coming?


13. Professional-Quality Bar and Pie Charts.

A Bar Chart. Developing the Bar Chart Code. Form2: Data Entry. Form1: Chart Plotting. Drawing Unique Bar Charts. A Pie Chart. Coding the Pie Chart. Form2: Data Entry. Form1: Chart Plotting. Drawing Unique Pie Charts. What's Coming?


Index.

商品描述(中文翻譯)

跳入 C# 的 Windows 應用程式編程未來!

- 專家教授的強大、快速開發 C#
- 完整的程式碼範例讓學習變得簡單!
- 包含兩個案例研究章節,展示完整的應用程式

C# 是一種新的物件導向程式語言,結合了 C++ 的強大與靈活性以及 Visual Basic(r) 的易用性。C# 提供了一種徹底不同於傳統 Windows 應用程式開發過程的方法,而《C# for Windows Programming》為您提供了開始這一波 Windows 應用程式編程所需的一切。

使用他們在課堂上驗證的技術,開創性的 C# 教師 Chris H. Pappas 和 William H. Murray 研究了 C# 的關鍵特性,將其與 C 和 C++ 進行比較,開發可運行的程式碼,並討論編程策略。通過《C# for Windows Programming》,您將能夠快速輕鬆地掌握 C# 的所有關鍵概念。

- 使用 Pappas 和 Murray 的課堂驗證技術學習 C# 基礎
- 完整的可運行程式碼範例逐步引導您理解概念
- 包含展示財務和圖表應用的案例研究章節
- 成為第一批學習這門必備語言的人!

已經熟悉 Visual Basic 或 C++ 的程式設計師和專業人士會發現,《C# for Windows Programming》是快速輕鬆掌握 C# 的最佳方式!

**目錄**

1. 一種徹底新的方法:C# 和 Windows。
Visual Studio .NET 和 C#。構建 C# 應用程式。其他程式詳情。C# 程式設計元素。陣列。屬性、事件、索引器、屬性和版本控制。屬性。事件。索引器。屬性。版本控制。裝箱、拆箱和統一類型系統。類別、結構和列舉。類別。結構。列舉。命名空間。預定義類型。語句。區塊。其他語句。do 語句。foreach 語句。if 和 if-else 語句。標籤和 goto 語句。switch (case-break) 語句。while 語句。值類型和引用類型。您的第一個 C# Windows 應用程式。其他程式詳情。命名空間。表單。設計器變數。初始化元件。事件處理器。結束。總結。

2. 使用者介面設計基礎。
昨天(或看起來如此)。為什麼在 Windows 專案中使用 C#?C# 語言和 Windows 應用程式。基於事件的編程。Visual Studio 的 C# 工具。標準控制項。控制項屬性。更改預設控制項屬性的一種快速方法。物件名稱和標籤。事件處理器。使用程式碼更改屬性。創建良好的使用者介面。良好設計的要素。使用網格。控制項基礎。選擇控制項。移動和調整控制項大小。微型控制項。刪除控制項。複製控制項。一個銷售稅計算器。調整表單大小。選擇和放置標籤控制項。選擇和放置文本框控制項。使用其他控制項進行設計。GroupBox 控制項。CheckBox 控制項。RadioButton 控制項。ComboBox 控制項。ListBox 控制項。水平和垂直滾動條控制項。計時器控制項。良好的設計技術。

3. 設計時控制項屬性。
屬性。屬性詳情。更改屬性。按鈕屬性。CheckBox 控制項屬性。ColorDialog 框控制項屬性。ComboBox 控制項屬性。DateTime Picker 屬性。FontDialog 屬性。表單顏色屬性。GroupBox 控制項屬性。HscrollBar 和 VscrollBar 控制項屬性。標籤控制項屬性。ListBox 控制項屬性。MainMenu 屬性。MonthCalendar 屬性。PictureBox 控制項屬性。ProgressBar 屬性。RadioButton 控制項屬性。TextBox 控制項屬性。ToolBar 屬性。TrackBar 屬性。使用程式碼控制屬性。

4. 執行時控制項屬性。
編碼控制項。屬性加程式碼。事件處理器。將程式碼附加到物件。動態修改控制項屬性。按鈕屬性。CheckBox 控制項屬性。DateTimePicker 屬性。表單顏色屬性。HscrollBar 和 VscrollBar 控制項屬性。標籤控制項屬性。ListBox 控制項屬性。MonthCalendar 屬性。PictureBox 控制項屬性。ProgressBar 屬性。RadioButton 控制項屬性。TextBox 控制項屬性。TrackBar 屬性。再次處理銷售稅計算器。正確的控制項,正確的工作。專案程式碼。展望未來。

5. 事件。
事件處理器的快速回顧。事件。啟用。ButtonClick。ButtonDropDown。CheckStateChanged。CheckedChanged。Click。Closed。CloseUp。Closing。DateChanged。DateSelected。Deactivate。DoubleClick。DragDrop。DragEnter。DragLeave。DragOver。DrawItem。Enter。Format。FormatQuery。Give Feedback。Help。InputLangChange。InputLangChangRequest。KeyDown。KeyPress。KeyUp。Layout。Leave。MDIChildActivate。MenuComplete。MenuStart。MouseDown。MouseEnter。MouseHover。MouseLeave。MouseMove。MouseUp。Move。PanelClick。QueryContinueDrag。Resize。Scroll。TextChanged。UserString。Validated。Validating。ValueChanged。事件,事件,事件。

6. 輸入。控制項和表單。使用 TextBox 控制項。TextBox 滾動條。加速?我嗎?使用 RadioButton 控制項。使用 CheckBox 控制項。使用 ScrollBar 控制項。滑鼠。更多輸入?

7. 多個表單、菜單和常見對話框。
多個表單。菜單。編碼菜單項目。在菜單選擇上放置勾選標記。常見對話框。添加 ColorDialog 對話框。ColorDialog 對話框屬性。CommDialog1 專案程式碼。添加 FontDialog 對話框。FontDialog 對話框屬性。CommDialog2 專案程式碼。獨特的使用者輸入。

8. 輸出。
發送它。MessageBox 輸出。使用 TextBox 或 Label 控制項的輸出。使用多行 TextBox 控制項的輸出。使用 TextBox 控制項的表格輸出。使用表單的表格輸出。輸出到印表機。其他輸出技術和格式化。

9. 圖形基礎。
System.Drawing 命名空間。Graphics 類詳情。System.Drawing.Drawing2D 命名空間。Graphics 類詳情。C# 的 Graphics 類。坐標系統。繪圖表面。Graphics 屬性。顏色線條繪製樣式。畫刷填充樣式。DrawAndFill 專案。圖形繪製原始。DrawArc。DrawEllipse。DrawLine。DrawPie。DrawPolygon。DrawRectangle。DrawString。FillElipse。FillPie。FillPolygon。FillRectangle。DrawingPrimitives 專案。其他圖形技術。

10. 圖片和圖形。
顯示圖像或圖片。Bitmap 專案程式碼。一個簡單的動畫範例。Flags 專案程式碼。一個圖表專案。BarChart 專案程式碼。Form1 的程式碼。Form2 的程式碼。測試 BarChart 專案。接下來會發生什麼?

11. 數字範例。
基數變換計算器。質數計數器。三角函數表。Form2。Form1。計算一個月的天數。一天中的時間。統計。排序。接下來會發生什麼?

12. 財務應用。
帳戶中的定期存款。開發未來價值程式碼。定期投資並獲得收益。帳戶中的定期提款。開發定期提款的專案程式碼。延長退休金。資產折舊。將程式碼附加到表單。資產折舊和數據共享。貸款支付。開發貸款支付的程式碼。查看貸款支付選項。抵押貸款攤還表。編碼抵押貸款專案。Form2 程式碼。Form1 程式碼。一個可能的所得稅扣除。接下來會發生什麼?

13. 專業品質的條形圖和圓餅圖。
條形圖。開發條形圖程式碼。Form2:數據輸入。Form1:圖表繪製。繪製獨特的條形圖。圓餅圖。編碼圓餅圖。Form2:數據輸入。Form1:圖表繪製。繪製獨特的圓餅圖。接下來會發生什麼?

索引。

最後瀏覽商品 (20)