PrepAway - Latest Free Exam Questions & Answers

What should you do to configure the form so that it takes the shape of the bitmap file without the background?

You are creating a shaped Windows Form. The shape and background for the form are available in a bitmap file named Background.bmp. The FormBorderStyle property is set to None and the BackgroundImage property is set to background.bmp. However, when the application runs, the entire image including all of the background is visible and the form still appears to be rectangular. You need to configure the form so that it takes the shape of the bitmap file without the background.

What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Set the BackgroundImageLayout property to None.

B.
Set the BackColor property of the form to the background color of Background.bmp.

C.
Set the Opactiy property of the form to 0%.

D.
Set the TransparencyKey property of the form to the background color of Background.bmp.


Leave a Reply