Test 3 Flashcards
All changes to the property values can be made in the __________ window at design time.
Properties
The __________ options enable you to increase or decrease the amount of blank space displayed between objects.
Horizontal and vertical spacing
__________ objects are normally used to provide descriptive text for another control.
Label
Probably the most commonly used control is the __________. It can be used to enter data or display text during run time.
Textbox
If you accidentally double-click on the form, you register the __________ event.
Form load
When a button is clicked by a user, its __________ is automatically called up.
Event handler method
To cause the cursor to be positioned in a specific TextBox, invoke the __________ method on that control.
Focus
The __________ property for the form can be set to a specific button to allow the Enter key to be associated with the button, so that pressing the Enter key is the same as clicking the button.
Accept button
It is a good idea to consistently use an appropriate prefix for the user interface elements. you might prefix buttons with __________.
btn
For both Windows applications, execution begins with the first statement in the __________ method.
Main
Most classes, including control classes such as Label, Button, and TextBox, used with Windows applications are defined in the __________ namespace.
System.Windows.Forms
Inheriting characteristics from base classes adds __________ to your program without the burden of your having to do additional coding.
Functionality
A large field of research in the field of computing is focused on __________. The research concentrates on the design and implementation of interactive computing systems for human use.
hci
With Windows applications, both the files, Form1.cs and Form1.Designer.cs, only include part of the definition for the class in their file. Thus, both include the keyword __________ in their class heading definition.
Partial
The ListBox __________ property has selection values of MultiSimple, MultiExtended, None and One.
SelectedMode
In order to add values to the ListBox at run time, invoke the Add( ) method on the __________ property.
Items
The __________ property can be set for RadioButton controls to indicate which button is initially selected.
Checked
The default event-handler method fro CheckBox objects is __________.
CheckChanged
Objects like colorDialog, fontDialog, ToolTip and MenuStrip are added to the __________ for the application when they are dragged and dropped onto the form.
Component tray
You can assign a(n) __________ to controls, such as text boxes or menu items, so that text is displayed when the cursor is rested on top of the component.
ToolTip
A(n) __________ is an underlined character in the text of a menu item or on the label of a control such as a button that enables user to click the button, without using the mouse, by pressing the Alt key incombination with the predefined character.
AccessKey
The ListBox object allows multiple options for retrieving selections. When multiple selections are made, to retrieve all of the selections, the __________ property cannot be used since it retrieves a single selection, the first one selected.
Text
All event-handler take two parameters. The first parameter, object sender, represents the source that raises the event, and the second parameter is the data for the event; thus, they normally have the same __________.
Signature
__________ controls can be used to display a list of items from which the user can make single or multiple selections. A scroll bar is automatically added to the control if the total number of items exceeds the number that can be displayed.
ListBox
To add functionality to a control such as a Button or ListBox, you need to __________ for it.
Register an event
__________ objects have an added feature over a ListBox objects that they contain their own text box field as part of the object, but they allow only a single selection to be made.
ComboBox
The __________ method associated with the predefined dialog classes, like FontDialog or ColorDialog causes the dialog box to be displayed.
ShowDialog
Both var and __________ enables developers to not associate a specific data type to the actual data when the memory declaration for the variable is written.
Dynamic
A stack represents a simple __________ collection.
Last in, first out (LIFO)
__________ enables algorithms to be written where a number of details, including the data type can be specified later.
Generics