Given a GUI Control, what objects and delegates are provided to handle mouse events such as clicking, pointing, and dragging?
What will be an ideal response?
Mouse events include all the actions a user takes with a mouse, including clicking, pointing, and dragging. Mouse events can be handled for any Control through an object of the class MouseEventArgs. The delegate used to create mouse event handlers is MouseEventHandler. Every mouse event-handling method must have two parameters: an object representing the sender, and an object representing the event. Depending on the event, the type of the second parameter is EventArgs or MouseEventArgs.
You might also like to view...
The _________________________ contains commands related to changing the appearance of text in a document.
Fill in the blank(s) with the appropriate word(s).
What is the difference between logical and physical data structures?
What will be an ideal response?
In a database that contains tables with information about students in a university, which of the following should be the primary key?
a. the students' last names b. the students' full names c. the students' college identification numbers d. any of the above would be good primary keys
The Trace Error button will appear next to a cell where a formula error occurs and is identified by a ________
A) blue triangle B) green triangle C) red triangle D) purple triangle