List of Listings
Chapter 1:
The .NET Data Entry Controls
Listing 1-1a:
C# Code for the Terminal Setup Program
Listing 1-1b:
VB Code for the Terminal Setup Program
Listing 1-2a:
C# Code for the TextBox Setup Example
Listing 1-2b:
VB Code for the TextBox Setup Example
Listing 1-3a:
C# Code for the DataBound Project
Listing 1-3b:
VB Code for the DataBound Project
Listing 1-4a:
C# Code for the SelectText Program
Listing 1-4b:
VB Code for the SelectText Program
Chapter 2:
UI Design Considerations for Data Entry
Listing 2-1a:
C# Constructor Code for the PowerUser Main Form
Listing 2-1b:
VB Constructor Code for the PowerUser Main Form
Listing 2-2a:
C# Code for the Load Event Handler and Helper Function for the PowerUser Project
Listing 2-2b:
VB Code for the Load Event Handler and Helper Function for the PowerUser Project
Listing 2-3a:
C# Code for Event Delegates
Listing 2-3b:
VB Code for Event Delegates
Listing 2-4a:
C# Code for the EmpList Form
Listing 2-4b:
VB Code for the EmpList Form
Listing 2-5a:
C# Code for the Console Program
Listing 2-5b:
VB Code for the Console Program
Chapter 3:
Data Presentation Screen Issues
Listing 3-1a:
C# Code for Event Delegates
Listing 3-1b:
VB Code for Event Delegates
Listing 3-2a:
C# Code for the MDI Application
Listing 3-2b:
VB Code for the MDI Application
Listing 3-3a:
C# Code for the Resource Example
Listing 3-3b:
VB Code for the Resource Example
Chapter 4:
Keyboard- and Mouse-Based Data Entry
Listing 4-1a:
C# Code for the Complete Keys Example
Listing 4-1b:
VB Code for the Complete Keys Example
Listing 4-2a:
C# Code for Delegates
Listing 4-2b:
VB Code for Delegates
Listing 4-3a:
C# Code for the Rectangle Converter Class
Listing 4-3b:
VB Code for the Rectangle Converter Class
Chapter 5:
The Object-Oriented GUI
Listing 5-1a:
C# Code for the LvItems Class
Listing 5-1b:
VB Code for the LvItems Class
Listing 5-2a:
C# Code for the MovieList Class
Listing 5-2b:
VB Code for the MovieList Class
Listing 5-3a:
C# Constructor Initialization Code
Listing 5-3b:
VB Constructor Initialization Code
Chapter 6:
Advanced Data Entry
Listing 6-1a:
C# Code for the Form's Load Event
Listing 6-1b:
VB Code for the Form's Load Event
Listing 6-2a:
C# Code for the Towns Class
Listing 6-2b:
VB Code for the Towns Class
Listing 6-3:
C# Code for the MSComm Constructor and Delegate
Chapter 7:
Error Handling
Listing 7-1:
C# Code for the ErrDialog Example
Listing 7-2a:
C# Code for the EventLogger Class
Listing 7-2b:
VB Code for the EventLogger Class
Listing 7-3a:
C# Code for the Console Form
Listing 7-3b:
VB Code for the Console Form
Chapter 8:
Advanced Validation and Custom Data Validation Controls
Listing 8-1a:
C# Code for the Masked Edit Control Test Program
Listing 8-1b:
VB Code for the Masked Edit Control Test Program
Listing 8-2a:
C# Code for the Regx Class
Listing 8-2b:
VB Code for the Regx Class
Chapter 9:
XML Data Entry and Validation
Listing 9-1a:
C# Code for the Classify Static Class
Listing 9-1b:
VB Code for the Classify Static Class
Listing 9-2a:
C# Code for the Main Form
Listing 9-2b:
VB Code for the Main Form
Chapter 10:
Keeping Users Happy
Listing 10-1:
VB 6.0 Code for the Tree Tester Project
Listing 10-2a:
C# Code for the Inventory Class
Listing 10-2b:
VB Code for the Inventory Class
Chapter 11:
Pulling It All Together
Example 11-1a:
C# Code for the IHoleDetails Collection Classes
Example 11-1b:
VB Code for the IHoleDetails Collection Classes
Listing 11-2a:
C# Code for the Database Class
Listing 11-2b:
VB Code for the Database Class
Listing 11-3a:
C# Code for the Course Setup Tab and cmbHoles Click Event
Listing 11-3b:
VB Code for the Course Setup Tab and cmbHoles Click Event
Listing 11-4a:
C# Code for the Course Scores Tab Setup
Listing 11-4b:
VB Code for the Course Scores Tab Setup
Listing 11-5a:
C# Code for the HoleDetail Screen
Listing 11-5b:
VB Code for the HoleDetail Screen
Listing 11-6a:
C# Code for the Statistics Form
Listing 11-6b:
VB Code for the Statistics Form