What action should you take?

You have received instructions to make sure that the PictureBox control’s properties cannot be changed with a logo that you have added to the PictureBox in the designer of the form base. Before the time you have added a form to the Microsoft Windows Forms Control Library project and add a PictureBox control to the form.
The form is presenting Domain.com’s logo.
What action should you take?

You have received instructions to make sure that the PictureBox control’s properties cannot be changed with a logo that you have added to the PictureBox in the designer of the form base. Before the time you have added a form to the Microsoft Windows Forms Control Library project and add a PictureBox control to the form.
The form is presenting Domain.com’s logo.
What action should you take?

A.
You should set the Locked property to False.

B.
You should set the Locked property to True.

C.
You should set the Modifiers property to Private.

D.
You should set the Modifiers property to Protected.

Explanation:
When you set the Modifiers property to Private, the value will show that only the base form can modify the control.

Incorrect Answers:
A: You should not set it to False, because the control can be moved and resized.
B: If you set the property to True the control cannot be removed of resized. .
D: If you set the Modifiers property to Protected, the value will show that the base form and any of the form yet to come can modify the control.



Leave a Reply 0

Your email address will not be published. Required fields are marked *