Wrap-Up

Self Review Exercises

13.1

State whether each of the following is true or false. If false, explain why.

  1. The KeyData property includes data about modifier keys.
  2. Windows Forms commonly are used to create GUIs.
  3. A Form is a container.
  4. All Forms, components and controls are classes.
  5. CheckBoxes are used to represent a set of mutually exclusive options.
  6. A Label displays text that a user running an application can edit.
  7. Button presses generate events.
  8. All mouse events use the same event arguments class.
  9. Visual Studio can register an event and create an empty event handler.
  10. The NumericUpDown control is used to specify a range of input values.
  11. A control's tool tip text is set with the ToolTip property of class Control.

13.2

Fill in the blanks in each of the following statements:

  1. The active control is said to have the __________.
  2. The Form acts as a(n) __________ for the controls that are added.
  3. GUIs are __________ driven.
  4. Every method that handles the same event must have the same __________.
  5. A(n) __________ TextBox masks user input with a character used repeatedly.
  6. Class __________ and class __________ help arrange controls on a GUI and provide logical groups for radio buttons.
  7. Typical mouse events include __________, __________ and __________.
  8. __________events are generated when a key on the keyboard is pressed or released.
  9. The modifier keys are __________, __________ and __________.
  10. A(n) __________ event or delegate can call multiple methods.

Категории