Meysam Tolouee
Meysam Tolouee

Reputation: 579

Show a WindowForm in another WindowForm

I need to show a form in another form. Please take attention I do not want to use Show() or ShowDialog() for second form. I want to do something like this:

Form1.Forms.Add(Form2);

which Form1.Forms is a Form[] of Form1.

I've seen something like this but unfortunately I can not find that again. Can someone help me with that?

Upvotes: 0

Views: 48

Answers (1)

Sriram Sakthivel
Sriram Sakthivel

Reputation: 73442

The term you're looking for is Multiple document interface

You'll create a MDI parent form, then add childs into it. Suggested link has step by step tutorial on how to implement it.

Upvotes: 3

Related Questions