|
Ive looked around abit and tried some things but I cant get the child form to fill parent. Its maximised but the form doesnt fill the area and part of the form is off the bottom of the parent form. Heres some code:-
Private Sub ShowNewForm(ByVal sender As Object, ByVal e As EventArgs) Handles NewToolStripMenuItem.Click, NewToolStripButton.Click, NewWindowToolStripMenuItem.Click
Dim NewMDIChild As New Form1 ' where ' frmcustomerdetails is the child form to be invoked NewMDIChild.MdiParent = Me Form1.WindowState = FormWindowState.Maximized NewMDIChild.Show()
End Sub
Form1 is set to maximise. Thats all any help?
|