PrepAway - Latest Free Exam Questions & Answers

What should you do?

You are creating a Windows Forms application. You set the FlatAppearance.MouseOverBackColor property of a button to Blue. When testing the application, you notice that the background color does not change when you move the pointer over the button. You need to set the properties of the button so that the background color for the button changes to blue when the pointer moves over the button.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Set the FlatStyle property to FlatStyle.Flat.

B.
Set the FlatStyle property to FlatStyle.System.

C.
Move the set statement for the FlatAppearance.MouseOverBackColor property to the Paint event.

D.
Set the UseVisualStyleBackColor property to False.


Leave a Reply