Reputation: 1297
I need to embedded window form inside another one like this
Upvotes: 2
Views: 1028
Reputation: 134005
The following might do what you want. ChildForm
is the form that you want to place inside of ParentForm
.
ChildForm.TopLevel = false;
ParentForm.Controls.Add(ChildForm);
ChildForm.Show();
Note that you might have to play with the Location
of the child form.
Upvotes: 1