As the beginner I want to know Is it necessary to add MDI parent for Library management System?

Can this be done without MDI Parent too?

And also is it necessary to add the below code for mdi parent of every project?

Private Sub ShowNewForm(ByVal sender As Object, ByVal e As EventArgs)
    ' Create a new instance of the child form.
    Dim ChildForm As New System.Windows.Forms.Form
    ' Make it a child of this MDI form before showing it.
    ChildForm.MdiParent = Me

    m_ChildFormNumber += 1
    ChildForm.Text = "Window " & m_ChildFormNumber

    ChildForm.Show()
End Sub

Kindly help me soon.

You will not be able to have child forms without having a mdiParent.

Is not necessary, it depends on your own needs or how the user want the software to look like and if you think
you get confusing on it please leave it. But if you want to be a good programmer it's better to know it

Guys I am asking you the solution is this the right code that should be added to all mdi parent form?
Is there any other code also?

Dear Iamateur Do you understand what the code is? What you mean by all the MDI form? application will have one MDI form. Not many... And the code above you wrote is for setting the child form to its parent as MDI form

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.