Center mdi child.

Visual Basic:
Dim frm As New Form2()

frm.MdiParent = Me
frm.Show()

frm.Location = New Point((Me.ClientSize.Width - frm.Width) / 2, _
                        (Me.ClientSize.Height - frm.Height) / 2)
From within the MDI form.
 
Back
Top