Deck 21: Cat and Mouse Painter Application

Full screen (f)
exit full mode
Question
The MouseDown event handler header differs from the MouseUp event handler header in that _______.

A) the e references are of different types
B) the sender references are of different types
C) the events handled are different
D) Both a and b.
E) Both a and c.
Use Space or
up arrow
down arrow
to flip the card.
Question
Mouse-event information is passed to a mouse-event handler via a ____object.

A) MouseEventArgs
B) EventArgs
C) MouseEvent
D) PointerArgs
E) None of the above.
Question
The______ property of the Form specifies the Form's background color.

A) Color
B) BackgroundColor
C) BackColor
D) Background
E) DefaultColor
Question
The CreateGraphics method can be called on_______ to initialize the Graphics object.

A) a Graphics object
B) a CreateGraphics object
C) the Form
D) the object on which you wish to draw
E) None of the above.
Question
The rectangle that defines an ellipse is called its_____ .

A) bounding box
B) boundary
C) elliptical rectangle
D) elliptical box
E) ellipse boundary
Question
The MouseButtons enumeration does not contain a ______constant.

A) Right
B) Left
C) Middle
D) Center
E) Both a. and b.
Question
When a mouse event is raised on the Form, the ______and______ properties of reference e in a mouse event handler specify the position of the mouse pointer on the Form.

A) XPosition, YPosition
B) XPoint, YPoint
C) X, Y
D) MouseX, MouseY
E) PointerX, PointerY
Question
The size of an ellipse drawn using the FillEllipse method is specified in________ .

A) points
B) pixels
C) centimeters
D) dialog units
E) inches
Question
If you are only interested in mouse clicks, you should not handle the _______event.

A) MouseUp
B) MouseMove
C) MouseDown
D) MouseEventArgs
E) Both a. and c.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/9
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 21: Cat and Mouse Painter Application
1
The MouseDown event handler header differs from the MouseUp event handler header in that _______.

A) the e references are of different types
B) the sender references are of different types
C) the events handled are different
D) Both a and b.
E) Both a and c.
the events handled are different
2
Mouse-event information is passed to a mouse-event handler via a ____object.

A) MouseEventArgs
B) EventArgs
C) MouseEvent
D) PointerArgs
E) None of the above.
MouseEventArgs
3
The______ property of the Form specifies the Form's background color.

A) Color
B) BackgroundColor
C) BackColor
D) Background
E) DefaultColor
BackColor
4
The CreateGraphics method can be called on_______ to initialize the Graphics object.

A) a Graphics object
B) a CreateGraphics object
C) the Form
D) the object on which you wish to draw
E) None of the above.
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
5
The rectangle that defines an ellipse is called its_____ .

A) bounding box
B) boundary
C) elliptical rectangle
D) elliptical box
E) ellipse boundary
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
6
The MouseButtons enumeration does not contain a ______constant.

A) Right
B) Left
C) Middle
D) Center
E) Both a. and b.
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
7
When a mouse event is raised on the Form, the ______and______ properties of reference e in a mouse event handler specify the position of the mouse pointer on the Form.

A) XPosition, YPosition
B) XPoint, YPoint
C) X, Y
D) MouseX, MouseY
E) PointerX, PointerY
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
8
The size of an ellipse drawn using the FillEllipse method is specified in________ .

A) points
B) pixels
C) centimeters
D) dialog units
E) inches
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
9
If you are only interested in mouse clicks, you should not handle the _______event.

A) MouseUp
B) MouseMove
C) MouseDown
D) MouseEventArgs
E) Both a. and c.
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 9 flashcards in this deck.