Event-driven programs will respond to external events generated by the user or the operating system. In this text we introduce event-driven programming in two chapters graded according to complexity. In this chapter we cover paint, mouse, and key events. The Form can handle these events without using delegates. In Chapter 9 we cover events associated with a user interface control such as a button and introduce the delegate concept.
Understand the idea of ...