PdfPrep.com

Which of the following parameters will you pass to the event handler of the MouseClick event?

You work as a Web Application Developer for SunInfo Inc. The company uses Visual Studio 2008 as its application development platform. You create a Windows Forms application using .NET Framework 3.5. You add a button control to a form named form1. You want to retrieve more information about the mouse event. You use the MouseClick event in your application.

Which of the following parameters will you pass to the event handler of the MouseClick event?
A . An object parameter representing the sender of the event and an instance of KeyEventArgs
B . An object parameter representing the sender of the event and an EventArgs parameter
C . An object parameter representing the sender of the event and an instance of KeyPressEven tArgs
D . An object parameter representing the sender of the event and an instance of MouseEventA rgs

Answer: D

Exit mobile version