Team LiB
Previous Section Next Section

List of Figures

Introduction

Figure 1: Assigning event handlers via the Properties screen

Chapter 1: The .NET Data Entry Controls

Figure 1-1: A form showing how RadioButtons can be grouped
Figure 1-2: A busy RadioButton screen
Figure 1-3: An alternate terminal setup
Figure 1-4: The form setup for the TextBox example
Figure 1-5: New controls on the TextBox form
Figure 1-6: Date and time controls
Figure 1-7: Viewing data via a TreeView versus viewing data via ComboBoxes
Figure 1-8: The Red Wine tab for the DataBound project
Figure 1-9: The White wine tab for the DataBound project
Figure 1-10: The SelectText program form

Chapter 2: UI Design Considerations for Data Entry

Figure 2-1: An example of effective screen layout
Figure 2-2: Example of bad screen design, part 1
Figure 2-3: Example of bad screen design, part 2
Figure 2-4: Example of bad screen design, part 3
Figure 2-5: Form controls for the PowerUser project
Figure 2-6: The first tab of the PowerUser project
Figure 2-7: The second tab of the PowerUser project
Figure 2-8: The third tab page of the PowerUser project
Figure 2-9: Running employee form
Figure 2-10: The form in edit mode
Figure 2-11: The employee list form
Figure 2-12: A resizable form
Figure 2-13: Disappearing controls
Figure 2-14: A form with scroll bars

Chapter 3: Data Presentation Screen Issues

Figure 3-1: SDI example
Figure 3-2: The main form for the SDI example
Figure 3-3: The Employee screen for the SDI project
Figure 3-4: All forms in the SDI project shown on the desktop
Figure 3-5: The MDI form of the SDI project
Figure 3-6: A basic form before being localized
Figure 3-7: The Language and Localizable properties of a form
Figure 3-8: The German form
Figure 3-9: Solution Explorer showing all files
Figure 3-10: The resource editor for the German resource file
Figure 3-11: The pillar box is on the left, and the U.S. mailbox is on the right.
Figure 3-12: The location of resource files
Figure 3-13: The Car Mileage Expense form layout
Figure 3-14: The project directory structure for C# and VB
Figure 3-15: The directory contents after running ResBuild.bat
Figure 3-16: The English version of the form
Figure 3-17: The French version of the form
Figure 3-18: A simple form demonstrating accessibility
Figure 3-19: Accessible properties
Figure 3-20: The Spy form
Figure 3-21: The accessibility Spy program in action

Chapter 4: Keyboard- and Mouse-Based Data Entry

Figure 4-1: The key press display
Figure 4-2: The result of pressing keys
Figure 4-3: The KeyDown GroupBox
Figure 4-4: Adding a Key Press display
Figure 4-5: The completed key event form
Figure 4-6: All the controls on the MouseTrap form
Figure 4-7: All the flags displayed
Figure 4-8: Marking flags for deletion via marquis selection
Figure 4-9: Four flags marked for deletion

Chapter 5: The Object-Oriented GUI

Figure 5-1: The main form showing controls
Figure 5-2: A running form
Figure 5-3: The pop-up menu for Some Part #1 in the TreeView
Figure 5-4: The pop-up menu for Some Part #2 in the Image view
Figure 5-5: An actual menu choice
Figure 5-6: A simple ListView form
Figure 5-7: A video rental form
Figure 5-8: Running the video rental form
Figure 5-9: The main form for the Photo project
Figure 5-10: Solution Explorer for the Photo project
Figure 5-11: Running the Photo example
Figure 5-12: Bad drop zone
Figure 5-13: Try dropping the photo on the root node.
Figure 5-14: A tripanel display
Figure 5-15: Running the tripanel form

Chapter 6: Advanced Data Entry

Figure 6-1: The result of the database example
Figure 6-2: The DataGrid form setup
Figure 6-3: The Parts table
Figure 6-4: The Inventory table
Figure 6-5: Both tables shown
Figure 6-6: The grid restriction example layout
Figure 6-7: The initial screen
Figure 6-8: An error in the cell
Figure 6-9: Choosing the Microsoft Communications Control in the COM Components tab
Figure 6-10: New Communications Control references
Figure 6-11: Sequential data stored in a structure
Figure 6-12: An overlapping data structure
Figure 6-13: The overlapped benefits structure

Chapter 7: Error Handling

Figure 7-1: An error provider form
Figure 7-2: The CheckedListBox properties before adding an ErrorProvider control
Figure 7-3: The CheckedListBox properties after adding an ErrorProvider control
Figure 7-4: A form with errors
Figure 7-5: An obtuse error
Figure 7-6: The ErrDialog form
Figure 7-7: A better dialog box
Figure 7-8: The login form
Figure 7-9: My registry entry for the event logger source
Figure 7-10: The Event Viewer
Figure 7-11: The main form for the Tracing project
Figure 7-12: Tracing is enabled.
Figure 7-13: A confusing error

Chapter 8: Advanced Validation and Custom Data Validation Controls

Figure 8-1: Choosing the Masked Edit control
Figure 8-2: The Masked Edit control in the Toolbox
Figure 8-3: The Masked Edit control with a date mask
Figure 8-4: VB 6.0 using Masked Edit control
Figure 8-5: .NET Masked Edit control test
Figure 8-6: .NET rendition of the Masked Edit control test
Figure 8-7: Choosing the new control
Figure 8-8: The new control in the Toolbox
Figure 8-9: The test form
Figure 8-10: The new properties
Figure 8-11: The running form
Figure 8-12: Mask results
Figure 8-13: A reference to the form's DLL
Figure 8-14: Choosing the new validation control
Figure 8-15: New properties added to control
Figure 8-16: An invalid entry
Figure 8-17: ToolTip help
Figure 8-18: Two new controls
Figure 8-19: Design-time errors
Figure 8-20: The error icon at design time
Figure 8-21: Debug code showing the regular expression

Chapter 9: XML Data Entry and Validation

Figure 9-1: The XMLWriter form
Figure 9-2: The running form
Figure 9-3: The new Read XML button
Figure 9-4: The new form for the validating reader
Figure 9-5: The new XML Schema file
Figure 9-6: XML controls
Figure 9-7: XML output for the XSD file
Figure 9-8: The validated XML form
Figure 9-9: An error in XML validation

Chapter 10: Keeping Users Happy

Figure 10-1: Adding 1,000 nodes to a VB 6.0 tree
Figure 10-2: Clearing 1,000 nodes in VB 6.0 tree
Figure 10-3: Tree tester form
Figure 10-4: Filling and clearing 1,000 nodes
Figure 10-5: Adding 10,000 nodes
Figure 10-6: Clearing 10,000 nodes
Figure 10-7: Clearing 25,000 nodes with one root node
Figure 10-8: Showing some nodes
Figure 10-9: The new tree fill form
Figure 10-10: The QuickTree solution space
Figure 10-11: A complete solution space
Figure 10-12: The Customize Toolbox screen
Figure 10-13: The new multithreaded tree tester
Figure 10-14: Doing three things at once
Figure 10-15: The multithreaded node addition finishes.

Chapter 11: Pulling It All Together

Figure 11-1: The Golf project in Solution Explorer
Figure 11-2: The MDI container for the Golf project
Figure 11-3: The course editor form
Figure 11-4: The Course scores tab
Figure 11-5: The HoleDetail screen
Figure 11-6: The Statistics screen
Figure 11-7: The data structure for the Golf project
Figure 11-8: The Course Setup tab
Figure 11-9: The Course scores tab in action
Figure 11-10: The HoleDetail screen shows statistics for each hole played.
Figure 11-11: The Statistics screen for an avid golfer

Application Blocks

Figure A-1: The Exception Management Application Block project

Team LiB
Previous Section Next Section