Hi,

My Project start with Login Form. MDI_Main_Form open when Login is success. I want to open another MDIChildForm when I click an item in ToolStripMenu in MDI_Main_Form.

Dim NewMDIChild As New Admin_Panel
NewMDIChild.MdiParent = Me 'Error in this line. Admin_Panel is a MDIChild Form
NewMDIChild.Show()
NewMDIChild.Dock = DockStyle.Fill

The Error Message is "Form cannot be both an MDI child and MDI parent"

How can I solve this error?

Thanks.