Exam 13: Handling Events

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Mouse events can be handled for any Control through an object of the class ____.

(Multiple Choice)
4.8/5
(41)

In C#, a(n) ____ occurs when something interesting happens to an object.

(Multiple Choice)
4.9/5
(49)

Depending on the event, the delegate used to create the keyboard event handler is either KeyEventHandler or ____.

(Multiple Choice)
4.8/5
(31)

____ is a Boolean property of a Control that identifies whether the Control will serve as a stopping place in a sequence of Tab key presses.

(Multiple Choice)
4.8/5
(35)

When a Form contains multiple Control s, you can create a separate event handler for each Control . However, you can also associate the same event handler with multiple Control s. Describe how to associate an existing event handler with a second Control using the IDE.

(Essay)
4.9/5
(35)

When you double-click the Button on the Form in the IDE, you generate the shell of a(n) ____ method.

(Multiple Choice)
4.9/5
(40)

Any delegate can encapsulate any method that has the same return type and parameter list as the delegate.

(True/False)
4.7/5
(32)

When users encounter multiple GUI Control s on a Form , usually one Control has ____; that is, if the user presses the Enter key, the Control will raise an event.

(Multiple Choice)
4.8/5
(32)

You can use the + and += operators to combine delegates into a(n) ____________________ that calls the delegates from which it is built.

(Short Answer)
4.9/5
(42)

Connecting an event to its resulting actions is called event ____________________.

(Short Answer)
4.8/5
(36)

You declare a delegate using the keyword ____.

(Multiple Choice)
4.8/5
(32)

What are common keyboard events? What is the delegate used to create a keyboard event handler, and what is the type of the second parameter to the event handler?

(Essay)
4.9/5
(29)

A method that performs a task in response to an event is a(n) ____________________.

(Short Answer)
4.7/5
(42)

The ____ event occurs when the user clicks the mouse within the Control 's boundaries.

(Multiple Choice)
4.7/5
(44)

For events that do not use additional information, the .NET Framework has already defined an appropriate delegate type named ____.

(Multiple Choice)
5.0/5
(40)

The C# language requires that every event must use a delegate type with three parameters.

(True/False)
4.9/5
(38)

What is an important difference between KeyEventArgs properties and KeyPressEventArgs properties?

(Essay)
4.8/5
(31)

Events are ____________________ occurrences; that is, they occur during the execution of a program rather than during development or at compile time.

(Short Answer)
4.8/5
(47)

The ____ event occurs when a mouse button is released while the mouse is within the Control 's boundaries.

(Multiple Choice)
4.7/5
(30)

A C# delegate is similar to a(n) ____ in C++, a variable that holds a method's memory address.

(Multiple Choice)
4.7/5
(34)
Showing 21 - 40 of 41
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)