A
Anil Gupte
I am using the following:
Private Sub FormContainer_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
frmMain.MdiParent = Me
frmSliceInfo.MdiParent = Me
frmMain.Show()
frmMain.Dock = DockStyle.Fill
End Sub
where the FormContainer is the parent and the frmMain is the default child
form. The child appears to go till the parent, but shows its border and
header bar. If I click the maximize box, I get what I want. How can I
force it to completely fill it when it loads?
Thanx,
Private Sub FormContainer_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
frmMain.MdiParent = Me
frmSliceInfo.MdiParent = Me
frmMain.Show()
frmMain.Dock = DockStyle.Fill
End Sub
where the FormContainer is the parent and the frmMain is the default child
form. The child appears to go till the parent, but shows its border and
header bar. If I click the maximize box, I get what I want. How can I
force it to completely fill it when it loads?
Thanx,