سؤال

How can I implement an MDI application in WPF? In windows forms I was used to write code like this:

Form2 oForm2 = new Form2();
            oForm2.MdiParent = this;
            oForm2.Show();

How can I accomplish the same thing in WPF?

هل كانت مفيدة؟

المحلول

There is no ready made built-in implementation in WPF, but there are already people who did that already from scratch, check this codeplex project:

WPF Multiple Document Interface (MDI)

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top