What should you do to set form properties so that the menus combine correctly?

You are creating a multiple-document interface (MDI) Windows Forms application that contains an MDI parent form and an MDI child form. You add a MenuStrip control to the parent form and a MenuStrip control to the child form. You add a top-level menu item labeled File to each menu. You then add different submenu items to each menu. When a child window is visible, the application should display a single top-level File menu that contains the combined set of submenu items. You need to set form properties so that the menus combine correctly. What should you do?

You are creating a multiple-document interface (MDI) Windows Forms application that contains an MDI parent form and an MDI child form. You add a MenuStrip control to the parent form and a MenuStrip control to the child form. You add a top-level menu item labeled File to each menu. You then add different submenu items to each menu. When a child window is visible, the application should display a single top-level File menu that contains the combined set of submenu items. You need to set form properties so that the menus combine correctly.

What should you do?

A.
Set the MergeAction property of the child form’s File menu item to MatchOnly.
Set the MergeAction property of the child form’s submenu items to Insert.

B.
Set the MergeAction property of the parent form’s File menu item to MatchOnly.
Set the MergeAciton property of the parent form’s submenu items to Insert.

C.
Set the MergeAction property of the child form’s File menu item to Insert.
Set the MergeAction property of the child form’s submenu items to MatchOnly.

D.
Set the MergeAction property of the parent form’s File menu item to Insert.
Set the MergeAction property of the parent form’s submenu items to MatchOnly.

Explanation:
child … File menue – MergeAction MatchOnly
child … Sub Menu Items – MergeAction Insert



Leave a Reply 0

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