Hi,
I wanted my mdi child to be maximize at the start of a button click.
As when the child is set as maximized, the buttons of minimise, maximise and close at the top right that supposed to be mount to the ribbonbar doesnt appear.
i will need to maximise my parent form, then those buttons appear.
below is the button click method.
private void btnUser_Click(object sender, EventArgs e)
{
Form1 newMDIChild = new Form1();
// Set the Parent Form of the Child window.
newMDIChild.MdiParent = this;
// Display the new form.
newMDIChild.WindowState = FormWindowState.Maximized;
newMDIChild.Show();
}
Please help to rectify the problem.
Thanks,
Jack
I wanted my mdi child to be maximize at the start of a button click.
As when the child is set as maximized, the buttons of minimise, maximise and close at the top right that supposed to be mount to the ribbonbar doesnt appear.
i will need to maximise my parent form, then those buttons appear.
below is the button click method.
private void btnUser_Click(object sender, EventArgs e)
{
Form1 newMDIChild = new Form1();
// Set the Parent Form of the Child window.
newMDIChild.MdiParent = this;
// Display the new form.
newMDIChild.WindowState = FormWindowState.Maximized;
newMDIChild.Show();
}
Please help to rectify the problem.
Thanks,
Jack