| |
| |
| |
Classes | |
| |
| |
| |
Introduction | |
| |
| |
| |
Value Types and Reference Types | |
| |
| |
Value Type | |
| |
| |
Reference Type | |
| |
| |
Life and the Garbage Collector | |
| |
| |
Namespaces | |
| |
| |
| |
Object-Oriented Design | |
| |
| |
Finding the Classes | |
| |
| |
Looking for Control Structures | |
| |
| |
Describing the Classes | |
| |
| |
Interface and Implementation | |
| |
| |
Inheritance | |
| |
| |
Clients and Servers | |
| |
| |
| |
Creating Classes | |
| |
| |
Hands-On Tutorial: Student Class | |
| |
| |
Methods | |
| |
| |
Hands-On Tutorial: Adding the GetGradeAverage Method | |
| |
| |
Public and Private Member Access | |
| |
| |
| |
Properties | |
| |
| |
Using Properties for Data Validation | |
| |
| |
ReadOnly Properties | |
| |
| |
Hands-On Tutorial: Adding Properties to the Student Class | |
| |
| |
Shared Variables and Properties | |
| |
| |
| |
Constructors and Destructors | |
| |
| |
Overloading the Constructor | |
| |
| |
Optional Constructor Parameters | |
| |
| |
Assigning Property Values in Constructors | |
| |
| |
Hands-On Tutorial: Adding a Parameterized Constructor to the Student Class | |
| |
| |
| |
Multi-Tier Applications | |
| |
| |
Hands-On Tutorial: Bank Teller Application | |
| |
| |
Hands-On Tutorial: BankTeller Transaction Log | |
| |
| |
| |
Composition Relationships Between Classes | |
| |
| |
Employee Information Example | |
| |
| |
Using UML to Describe Classes | |
| |
| |
Displaying the Objects | |
| |
| |
Hands-On Tutorial: Employee Information | |
| |
| |
| |
Optional Topic: Using Text Files 2 | |
| |
| |
Exceptions and User Interfaces | |
| |
| |
| |
User Interface Design | |
| |
| |
Introduction | |
| |
| |
Designing Forms | |
| |
| |
Using Microsoft Office as a Model | |
| |
| |
| |
Input Validation | |
| |
| |
General Principles | |
| |
| |
Trapping Individual Keystrokes | |
| |
| |
Hands-On Example: Account Number Input | |
| |
| |
Handling the Validating Event | |
| |
| |
Hands-On Example: Name and Age Input Program | |
| |
| |
Hands-On Example: ErrorProvider Control | |
| |
| |
ImageList and ToolBar Controls | |
| |
| |
Hands-On Tutorial: Simple ToolBar | |
| |
| |
| |
ListView Control | |
| |
| |
Creating Column Headings | |
| |
| |
ListViewItem Class | |
| |
| |
Useful ListView Techniques | |
| |
| |
| |
TreeView Control | |
| |
| |
Basic Techniques | |
| |
| |
Hands-On Tutorial: Contact Categories | |
| |
| |
Hands-On Example: Disk Directory TreeView | |
| |
| |
| |
Structured Exception Handling | |
| |
| |
Introduction | |
| |
| |
Exception Classes | |
| |
| |
Try..Catch..Finally Statement | |
| |
| |
System.IO Exceptions | |
| |
| |
Hands-On Example: Averaging Test Scores | |
| |
| |
Hands-On Example: Handling File Exceptions | |
| |
| |
Propogating Exceptions | |
| |
| |
Exception Handling at the Business Tier Level | |
| |
| |
Designing Your Own Exception Types | |
| |
| |
Hands-On Example: Testing PropertyException | |
| |
| |
Exception-Handling Tips 3 ADO.NET Databases | |
| |
| |
| |
Introduction to ADO .NET | |
| |
| |
Overview | |
| |
| |
Database Basics | |
| |
| |
Data Sources and Connections | |
| |
| |
Datasets | |
| |
| |
DataTables | |
| |
| |
DataViews | |
| |
| |
| |
Using Data-Bound Controls | |
| |
| |
Hands-On Tutorial: SalesStaff 1 | |
| |
| |
Moving Programs and Databases | |
| |
| |
A Brief Look at SQL | |
| |
| |
| |
Navigating, Adding, and Removing Rows | |
| |
| |
Hands-On Example: Updating the SalesStaff Table (SalesStaff 2) | |
| |
| |
Writing Code for DataTables | |
| |
| |
Using the Query Builder | |
| |
| |
Hands-On Example: SalesStaff 3 | |
| |
| |
Filling List and Combo Boxes | |
| |
| |
| |
Selecting DataTable Rows | |