How can I show a child form within a mdi container form which its windowstate= maximized ?
when I put these below lines of code when my child form is loading (by clicking on a menu Item of my Main form), the child form loses its parent position and does not show within its parent form.
private void mnuUnit_Click(object sender, EventArgs e)
{
frmUnit frm = new frmUnit();
frm.MdiParent = this;
frm.WindowState = FormWindowState.Maximized;
frm.Show();
}