Hi,
I create MDI application with two form. And I want that my child form open as maximized on screen. So from the properties I select maximize but when I click a botton to open child form it is at left top corner first and at the second click it openes maximized.
CAn you help me with that? You can find my code to open childform and my child form is selected as maximized from properties.
private void newToolStripMenuItem_Click(object sender, EventArgs e)
{
MDIChild1 childform1 = new MDIChild1();
childform1.MdiParent = this;
childform1.Show();
}
View the full article
I create MDI application with two form. And I want that my child form open as maximized on screen. So from the properties I select maximize but when I click a botton to open child form it is at left top corner first and at the second click it openes maximized.
CAn you help me with that? You can find my code to open childform and my child form is selected as maximized from properties.
private void newToolStripMenuItem_Click(object sender, EventArgs e)
{
MDIChild1 childform1 = new MDIChild1();
childform1.MdiParent = this;
childform1.Show();
}
View the full article