Answer the following statements true (T) or false (F)
1. Most of the code to create a GUI is written by the programmer.
2. The Form class defines the methods that handle each event within the Form class.
3. Once an event is raised, every method referenced by the delegate is called.
4. Many controls already have predefined delegates corresponding to every event they can generate.
5. Each event is allowed only one event handler method.
1. False. Most of the code is generated by Visual Studio.
2. False. The use of delegates allows the Form class to specify the event handler that will be
called for each event. The actual code to handle the event must be written by a programmer.
3. True.
4. True.
5. False. Many methods may be defined to handle one event.
You might also like to view...
For each of the below, see if you can figure out the representation in terms of bits and bytes.
(a) Internet addresses are four numbers, each between 0 and 255. How many bits are in an Internet address? (b) In the programming language Basic, lines can be numbered, each one between 0 and 65535. How many bits are needed to represent a line number? (c) Each pixel's color has three components: Red, green, and blue, each of which can be between 0 and 255. How many bits are needed to represent a pixel's color? (d) A string in some languages can only be up to 1024 characters. How many bits are needed to represent the length of a string?
METHOD = "get" should be used when
(a) updating a database. (b) the form data must be sent as an environment variable. (c) special characters must be submitted. (d) making a database request.
The ________ is a free download that runs PowerPoint slide shows when the user does not have PowerPoint installed
A) PowerPoint application B) Slide Show Viewer C) PowerPoint Viewer D) Adobe Reader
You are configuring two Cisco routers in a back-to-back configuration for studying. When you plugged in the cables, you did not take note of their types. Which of the following commands could you run on either router to see to which interface you have plugged in the DCE end of the cable?
A) show running config B) show controllers C) show interface brief D) show interface