Multiple choice technology programming languages

You create 4 forms FormA, FormB, FormC and FormD. You want to allow users to open FormA, FormB and FormC at the same time within FormD. Which properties do you need to set?

  1. IsMdiChild on Forms A,B and C; and IsMdiParent on FormD.

  2. MdiParent on Forms A,B and C; and IsMdiContainer on FormD.

  3. IsMdiChild on Forms A,B and C; and IsMdiContainer on FormD.

  4. MdiParent on Forms A,B and C; and IsMdiParent on FormD.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Windows Forms MDI (Multiple Document Interface) applications, child forms are assigned to the MdiParent property of the container form. The parent form (FormD) must have IsMdiContainer set to true. Option B correctly describes setting the MdiParent property on child forms and IsMdiContainer on the parent. Options A and C incorrectly use IsMdiChild which isn't a standard property, and option D incorrectly uses IsMdiParent instead of IsMdiContainer.