c# Season 2 chapter 10 part 2
In Visual Studio, the ____ window is used to view and change the design time properties and events of an object.
Properties
The preprocess directive #region can be added in the program to ____.
mark sections of code that can be expanded or collapsed
Probably the most commonly used control for input and output is the ____.
TextBox
Double-clicking on the form when you are using the Form Designer brings up the Code Editor and also ____.
adds a form load method heading
Which TextBox property can be set to enable several lines of data to be entered by the user?
MultiLine
Which property can be set to indicate whether text in the TextBox is read-only or not?
ReadOnly
After a button click event is registered, the associated method is called:
automatically when the button is clicked.
It is important to name the button object, because once named:
program statements can be written to reference it.
Delegates are special types of .NET classes whose instances store ____.
references to methods
Delegate declarations resembles ____ declarations.
method
Delegate signatures differ from method signatures in that the delegate also includes its ____.
return type
An instance of the delegate class is called a(n) ____
delegate
When the delegate wraps more than one method, it is called a(n) ____ delegate.
multicast
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
wiring an event
A ____ control offers the advantage of multiple selections and the opportunity to add or remove items dynamically at
runtime.
ListBox
Double-clicking on the ListBox control ____.
registers the SelectedIndexChanged event as being of interest
One of the advantages of a ListBox object over other types of objects used for input is ____.
multiple selections can be made
SelectedItems and ____ properties can be used to retrieve items from a ListBox object.
SelectedItem
ComboBox objects have an added feature over the ListBox controls in that ____.
ComboBox objects contain their own text box field
The default event-handler method for the ListBox and ComboBox control is ____.
SelectedIndexChanged( )
You can add a shortcut to a menu by preceding the character with a(n) ____. This places an underline under the next
character typed.
ampersand (&)
____ objects usually appear as small boxes that allow users to make a yes/no selection.
CheckBox
To create mutually exclusive options use ____.
a GroupBox object with RadioButton objects
In order for event handlers to be called using delegates, the delegate ____.
maintains a list of the registered event handlers for an event
In order to have the ListBox or ComboBox Items arranged in alphabetical order, ____.
set the Sorted property to true
With a ListBox of numbers, the SelectedItem property returns ____.
an object representing the one selected