Exam 3: Using Gui Objects and the Visual Studio Ide
What are Label s and how do you use them?
Label s are controls that you use to display text to communicate with an application's user. Just like a Button , you can drag a Label onto a Form . By default, the first Label you drag onto a Form is named label1 . You can change its Text property to display any string of text; depending on the amount of text you enter, you might need to change the size of the Label by dragging its resizing handles or altering its Size property. If you want to create multiple lines of text on a Label , use the arrow to the right of the Text property to open an editor and type the needed text in separate lines.
The environment the user sees is a program's ____.
A
Name and describe some of the properties of Button s.
The following table gives some selected properties of Button s:
Property Name Description
BackColor Gets or sets the background color for the control
Enabled Gets or sets whether the control is enabled
Font Gets or sets the current font for the control
ForeColor Gets or sets the foreground color of the control
Name Gets or sets the name of the control
Size Gets or sets the size of the control
Text Gets or sets the text associated with the control
Visible Gets or sets a value indicating whether the control is visible
A ____ is a control that is used to display text such as a prompt or a result of some computation.
The property names generally appear in alphabetical order in the Properties window. A notable exception is the ____ entry.
____ are controls through which a user can enter input data in a GUI application.
If a Button 's name is reportButton , then the default name of its Click() method is ____.
Form s almost always include ____, which are devices such as labels, text boxes, and buttons that users can manipulate to interact with a program.
Professional programmers usually do not retain the default names for Form s and controls.
After you have dragged a Button onto a Form , you can ____________________ it to create a method that executes when the user clicks the button.
If you make a change to a program and try to rerun it, you get an error message that starts with "Could not copy...". The solution is to ____ and then try again.
When opened, the ____________________ provides lists of controls you can drag onto a Form so that you can develop programs visually, using a mouse.
When deciding which interface to use, pick the ____ interface if you want your application to look snazzy.
____ are rectangular GUI objects that provide an interface for collecting, displaying, and delivering information.
If you change a Form 's Name , you will notice differences in the visual design.
When you create a Windows Forms project, Visual C# adds a form to the project and calls it ____.
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)