Hi John,
Do not set the MDI child form to maximized in the child form’s InitializeComponent method. Set it in the child form’s load event instead. Try like the following:
Code Block
partial class ChildFrm1 : Form
public ChildFrm1()
//this.WindowState = FormWindowState.Maximized; --this won�/span>//this.WindowState = FormWindowState.Maximized; --this works
private void ChildFrm1_Load(object sender, EventArgs e)
this.WindowState = FormWindowState.Maximized; //--this works
Hope this helps. Best regards. Rong-Chun Zhang |