Click here to Skip to main content
15,901,426 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
VB
Private Sub PendaftaranAhliToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PendaftaranAhliToolStripMenuItem1.Click

        Form3.MdiParent = Me

        Form4.Close()
        Form5.Close()
        Form6.Close()
        Form7.Close()
        Form8.Close()

        Form3.Show()
    End Sub


the size of mdi child form didnt fill out in the parent form. what should i add?
Posted

1 solution

Try:
C#
Form3.WindowState = FormWindowState.Maximized;
 
Share this answer
 
Comments
Member 10630083 27-Feb-14 9:15am    
thx, this work just fine :D
OriginalGriff 27-Feb-14 10:29am    
You're welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900