i have a code in VB.net where i can set the mdiparent in the childform itself. for example the name of the MDI Parent is MDIMain the the childform is frmShortcuts.

in the activated event of the frmShortcuts, this is my code:

Me.MDIParent = MDIMain

and i use this code to show the childform in MDIMain


and it works just fine. saving me the trouble of declaring new forms before i actually show my childforms.

what i want to know is that is there a way in c# that i could implement this code? 
this.MDIParent =MDIMain();

im getting the error MDIMain is a class but is used like variable.