While googled I found out that MDI is being deprecated
This is like Mark Twain's famous quote: "The reports of my death have been greatly exaggerated". MDI is built into Windows, many old programs depend on it. It has been around for over 25 years and is not going away anytime soon.
Programmers like to arbitrarily announce something deprecated when they don't like a feature. Sure, nobody is that smitten with MDI. That WPF didn't implement it doesn't make it deprecated, that would make shell notify icons deprecated too and they certainly are alive and well. MDI was a windowing model that was invented to deal with the kind of monitors users had 25 years ago. And 640 x 480 displays don't leave a lot of room for windows. Finding a way to make overlapping windows manageable was its primary goal.
It doesn't make much sense to still use it on the gigantic monitors we have today. Docking layouts are much more sensible. Visual Studio being a good example. You'll need to go shopping for a library that support it if you don't want to create one yourself. Weifenluo's DockPanelSuite is very popular and has the right price.
MDIis being deprecated in favor ofWPF, if you usewinforms,MDIis still useful. However the style ofMDIis actually old.form2as as a separate process. Do you really mean that?MDIis simple, some search will lead you to more sample code. The most important properties you should look at areMdiParent,MdiChildrenand to turn a form into aMDIform, just setIsMdiContainer = true.