Hi

I have a windows form which has the following: form1.IsMDIContainer = true and panel1.Dock = DockStyle.Right. Then I create a new child window and set its FormBorderStyle = FormBorderStyle.None and WindowState = FormWindowState.Maximized. But what happens is the right half of this child window is covered by the panel and it's still showing the header of the window (icon, name, min, max, and close buttons)

My questions
1. How do I make the child window maximize only on the left half on the parent window (not to make it behind the panel)
2. How do I hide the header of the child window when it's maximized

Please advice, thanks
-CL