PrepAway - Latest Free Exam Questions & Answers

What should you do?

You are creating a Windows application by using the .NET Framework 3.5.
The application contains a form that has 10 data entry controls.
When the user presses the F1 key, help information for the selected control must be displayed.
You need to create an event handler to display the help information by using a sender parameter.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Create a handler for the KeyPress event of the form.

B.
Create a handler for the KeyDown event of the form.

C.
Create a single handler for the KeyDown event of all controls.

D.
Create a single handler for the KeyPress event of all controls.


Leave a Reply