Visual C♯ 2005: a self-teaching guide / Jeffrey A. Kent
By: Kent, Jeffrey A
.
Material type: 


Item type | Home library | Call number | Status | Date due | Barcode | Item holds |
---|---|---|---|---|---|---|
![]() |
KCST Library | 005.133 Ke Vi (Browse shelf) | Available | 1000001391 | ||
![]() |
KCST Library | 005.133 Ke Vi (Browse shelf) | Available | 1000001392 |
Acknowledgments xv
Introduction xvii
Getting Started with Your First Windows Program
1 (16)
Obtaining and Installing Visual C# 2005
2 (2)
System Requirements
2 (1)
Choosing the Right Version
3 (1)
Installing Visual C# 2005
4 (1)
Starting Your First Visual C# 2005 Project
4 (7)
Starting the Program
5 (1)
Specifying the Type of New Project
6 (1)
Specifying the Name and Location of the Project
7 (1)
Integrated Development Environment (IDE)
8 (1)
Run the Project!
9 (2)
What Is a Computer Program?
11 (3)
What Is a Programming Language?
13 (1)
Translating the Code for the Computer
14 (1)
Conclusion
14 (1)
Quiz
15 (2)
Writing Your First Code
17 (26)
Starting an Existing Project
18 (7)
Design View and Code View
20 (1)
Object Browser
20 (5)
Classes and Objects
25 (2)
Inherits
25 (1)
Namespaces
25 (1)
.NET Framework
26 (1)
Properties
27 (2)
Properties Window
27 (1)
Changing Properties at Design Time
28 (1)
What Is a Windows Application?
29 (5)
Windows Applications Are Gooey
30 (3)
Windows Applications Are Event-Driven
33 (1)
Classes Have Events
34 (1)
Creating an Event Procedure
34 (6)
Creating an Event Procedure Stub
35 (2)
Writing Code Inside the Event Procedure
37 (3)
Conclusion
40 (1)
Quiz
41 (2)
Controls
43 (20)
Adding Controls to the Form
44 (6)
Toolbox
44 (1)
Copying a Control from the Toolbox to the Form
45 (2)
Changing the Control's Location
47 (2)
Changing the Control's Size
49 (1)
Important Label Properties
50 (2)
Text Property
50 (1)
Name Property
51 (1)
The Label Control in Action
52 (2)
Mouse Coordinates
52 (1)
Creating the Application
53 (1)
How the Code Works
54 (2)
Using Event Procedure Parameters
56 (4)
What If You Type the Wrong Code?
56 (2)
ToString Method
58 (1)
Delegate
59 (1)
Conclusion
60 (1)
Quiz
61 (2)
Storing Information---Data Types and Variables
63 (16)
Data Types
64 (4)
Numeric Data Types
65 (1)
Text Data Types
65 (1)
Data Types of Visual C# Properties
66 (2)
Variables
68 (6)
Declaring a Variable
68 (3)
Where Do I Declare a Variable?
71 (3)
Constants
74 (3)
Declaring a Constant
75 (1)
Why Use Constants?
76 (1)
Conclusion
77 (1)
Quiz
78 (1)
Letting the Program Do the Math---Arithmetic Operators
79 (14)
Arithmetic Operators
80 (5)
The Addition Operator
80 (1)
The Subtraction Operator
81 (1)
The Multiplication Operator
81 (1)
The Division Operators
81 (1)
Operator Precedence
82 (1)
Combining Arithmetic and Assignment Operators
83 (1)
Increment and Decrement Operators
84 (1)
The Parse Method
85 (1)
Class Methods
86 (1)
Change Machine Project
86 (5)
Creating the Project
87 (2)
The Algorithm
89 (2)
Conclusion
91 (1)
Quiz
92 (1)
Making Comparisons---Comparison and Logical Operators
93 (14)
Debugging
94 (2)
Comparison Operators
96 (3)
Numeric Comparison Operators
96 (2)
String Comparisons
98 (1)
Precedence
99 (1)
Logical Operators
99 (6)
The && Operator
100 (1)
The & Operator
101 (1)
The || Operator
101 (1)
The | Operator
102 (1)
The ^ Operator
102 (1)
The ! Operator
103 (1)
Precedence
104 (1)
Why && and || in Addition to & and |?
104 (1)
Conclusion
105 (1)
Quiz
105 (2)
Making Choices---if and switch Control Structures
107 (28)
Creating a Test Project
108 (1)
The if Control Structure
108 (9)
The if Statement
109 (4)
The if ... else Statement
113 (3)
The if ... else if Statement
116 (1)
Input Validation
117 (5)
Exceptions
118 (4)
Controls Used for the if Control Structure
122 (2)
CheckBox Control
122 (1)
RadioButton Control
123 (1)
Pizza Calculator
124 (4)
Creating the Project
125 (1)
How the Project Works
125 (1)
The Code
125 (3)
The switch Control Structure
128 (4)
Syntax
128 (1)
The switch Control Structure in Action
129 (2)
The break Keyword
131 (1)
Choosing Between if ... else if and switch
132 (1)
Conclusion
132 (1)
Quiz
133 (2)
Repeating Yourself---Loops and Arrays
135 (20)
Loops
136 (14)
The for Statement
136 (8)
The continue Keyword
144 (3)
The foreach Statement
147 (1)
The while Statement
147 (3)
The do while construct
150 (1)
Arrays
150 (3)
Declaring Arrays
150 (1)
Assigning Values to the Array
151 (2)
Conclusion
153 (1)
Quiz
154 (1)
Organizing Your Code with Methods
155 (20)
Defining and Calling a Method
156 (5)
Terminology of a Method
156 (2)
Naming a Method
158 (1)
Defining a Method
158 (1)
Calling a Method
159 (2)
Parameters---Sending Information to a Method
161 (8)
Passing Arguments by Value
161 (3)
Passing Arguments by Reference
164 (5)
Returning a Value from a Method
169 (3)
Syntax
169 (1)
How the Value Is Returned
170 (1)
Saving the Return Value
170 (1)
Returning a Boolean Value
171 (1)
Conclusion
172 (1)
Quiz
173 (2)
Helper Forms
175 (18)
Message Boxes
176 (8)
Creating the Project
177 (1)
Message Boxes Are Modal
178 (1)
Show Method
178 (4)
Using the Show Method's Return Value
182 (2)
Dialog Forms
184 (7)
Creating the Project
184 (4)
Showing the Dialog Form and Returning Its Result
188 (2)
Accessing Values from the Dialog Form
190 (1)
Modal vs. Modeless
190 (1)
Conclusion
191 (1)
Quiz
192 (1)
Menus
193 (24)
Creating a Main Menu
194 (11)
Adding a MenuStrip Control to a Form
195 (1)
Adding Menu Items to the MenuStrip
196 (5)
Enhancing the Menu Items
201 (2)
Adding Functionality to the Menu Items
203 (1)
Disabling Menu Items
204 (1)
Creating a Context Menu
205 (7)
Adding a ContextMenuStrip to a Form
205 (2)
Adding Menu Items to the ContextMenuStrip
207 (3)
Adding Functionality to Context Menu Items
210 (2)
Text Editor Project
212 (3)
Creating the Project
212 (2)
Explanation of the Code
214 (1)
Conclusion
215 (1)
Quiz
215 (2)
Toolbars
217 (16)
Creating a Toolbar
218 (11)
Adding a Toolbar to a Form
218 (1)
Adding Buttons to the Toolbar
219 (2)
Associating Images with Toolbar Buttons
221 (8)
Associating Code with Clicks of Toolbar Buttons
229 (1)
Conclusion
230 (1)
Quiz
231 (2)
Accessing Text Files
233 (16)
Open and Save File Dialog Boxes
234 (6)
Adding an OpenFileDialog Control to Your Form
234 (1)
Showing the OpenFileDialog Control
235 (1)
Determining Whether Open or Cancel Is Chosen
236 (1)
Identifying the File to Open
237 (1)
SaveFileDialog Class
238 (2)
Reading from a Text File
240 (4)
StreamReader Class
240 (2)
Reading the Text File into the TextBox
242 (1)
Closing the Text File
243 (1)
Writing to a Text File
244 (3)
StreamWriter Class
244 (1)
Writing from the TextBox to the Text File
245 (1)
Closing the Text File
246 (1)
Conclusion
247 (1)
Quiz
247 (2)
Databases
249 (22)
Installing the Database
250 (1)
Obtaining the Northwind Traders Database
250 (1)
Installing the Northwind Traders Database
250 (1)
Connecting to the Database
251 (3)
Using Server Explorer
254 (4)
Exploring the Database
255 (1)
Exploring the Customers Table
256 (2)
Database Project
258 (11)
What the Project Does
258 (1)
Creating the Form
259 (1)
Importing Data Namespaces
260 (1)
Creating a Connection
260 (3)
Creating a Command
263 (2)
Filling the DataGridView
265 (4)
Conclusion
269 (1)
Quiz
270 (1)
Web Applications
271 (22)
ASP.NET
272 (1)
Internet Information Services
272 (6)
Determining If IIS Is Already Installed
273 (1)
Installing IIS
274 (1)
Starting the IIS Admin Service
274 (2)
Starting the Default Website
276 (2)
URL
278 (2)
Your Computer as the Web Server
278 (1)
Virtual and Physical Paths
279 (1)
Creating a Web Application
280 (6)
ASP.NET Development Server
281 (3)
ASP.NET Application IDE
284 (2)
Creating a Database Web Application
286 (6)
Adding a GridView Control
286 (2)
Locating the Database on the Web Server
288 (2)
Adding Code
290 (2)
Conclusion
292 (1)
Quiz
292 (1)
Final Exam 293 (6)
Answers 299 (16)
Index 315
There are no comments for this item.