Question from the C# Winforms test

How to open a child form in a parent form in C#

Medium

You are creating a Windows Forms application of the multiple-document interface (MDI) type. You configure the frmParent form as the parent. You write the following code segment.

01 frmChild form = new frmChild();

02 frmParent form = this;

03

You need to associate and display the frmChild form to the frmParent form. What code segment will you need to add to line 03?

Author: Guillaume BroutStatus: PublishedQuestion passed 204 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!