This chapter deals with entering in data using the keyboard and the mouse. Yes I know, you're probably thinking, "Haven't I been typing on the keyboard all along?" Yup, however, you should be aware of the following issues:
Which key (or keys) is being pressed?
Which key event should you trap?
When should you evaluate the key?
When should you use hot keys?
When should you use shortcut keys?
I covered some of these topics in Chapters 1, 2, and 3. I further cover trapping key presses in this chapter.
As far as mouse-based data entry goes, so far you have used the mouse to get from one field to another. Using the mouse properly can make screen navigation easier and can also enhance data entry for the user. This mouse-based data entry can be a lot of fun and it can also be rather complicated. I try not to get too complicated in this chapter, but here are some of the things you will see regarding the mouse:
The mouse events
Cursor control
The MouseEventArgs structure
Drag and drop
Marquis selection
GDI+ and the mouse
This last topic, GDI+ and the mouse, is where you will learn some of the more inventive data entry techniques.
The next section covers some more keyboard data-entry functionality.