Form that was specified to be the MdiParent for this form is not an MdiContainer
The Mdi parent must have it's IsMdiContainer
property set to True
. You can set this property at design time in your frmMainPanel
form.
You should set the IsMdiContainer = true
for the parent form.