Exam 10: Programming Based on Events

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

The declaration for a delegate looks more like a method declaration than a class definition.

Free
(True/False)
4.8/5
(30)
Correct Answer:
Verified

True

Multiple selections cannot be made from a ListBox control object.

Free
(True/False)
5.0/5
(38)
Correct Answer:
Verified

False

To set the background color for the ListBox control, use the Back property.

Free
(True/False)
4.9/5
(29)
Correct Answer:
Verified

False

The TabControl object displays multiple tabs, like dividers in a notebook or labels in a set of folders in a filing cabinet.

(True/False)
4.8/5
(38)

To add functionality to a control such as a Button or ListBox, you need to ____________ for it.

(Short Answer)
4.8/5
(40)

The ____________ method associated with the predefined dialog classes, like FontDialog or ColorDialog causes the dialog box to be displayed.

(Short Answer)
4.7/5
(38)

To add an icon for the application, add a PictureBox  object and set the Image property to the desired . J p g image.

(True/False)
4.9/5
(44)

The process that includes identifying an event, such as a button click as being of interest, and associating a method to be executed when the event occurs describes ____.

(Multiple Choice)
4.8/5
(37)

With a ListBox of numbers, the SelectedItem property returns ____.

(Multiple Choice)
4.8/5
(33)

With Windows Presentation Foundation (WPF) applications, ____.

(Multiple Choice)
4.9/5
(30)

The Items, SelectedItems, and SelectedIndices properties are useful for retrieving selected items from the ListBox object.

(True/False)
4.8/5
(36)

Which of the following is one of the pre-configured dialog boxes that can be added to an application?

(Multiple Choice)
4.7/5
(43)

Both the ComboBox and ListBox objects inherit members from the Control class.

(True/False)
4.8/5
(41)

The this keyword is used to indicate the current instance of the delegate.

(True/False)
4.7/5
(29)

One way to convert item objects retrieved from ListBoxes to strings for displaying is to use the Text property for retrieval. Another option is to retrieve the values as objects using the SelectedItem property and invoke the ____________ method.

(Short Answer)
4.8/5
(34)

To wire a method to an event, such as a menu selection, means you associating multiple methods to the event.

(True/False)
5.0/5
(34)

The ____ class in the System.Windows.Forms namespace enables you to add more functionality to your application by offering additional user options, such as adding layers of menus.

(Multiple Choice)
4.9/5
(35)

Menus offer the advantage of requiring less real estate on the screen.

(True/False)
4.7/5
(35)

The default setting for the ComboBox object's DropDownStyle property, is DropDown. Retaining this setting prohibits new text from being entered into the ComboBox.

(True/False)
4.8/5
(33)

An instance of the delegate class is called a(n) ____.

(Multiple Choice)
5.0/5
(41)
Showing 1 - 20 of 75
close modal

Filters

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