Hello

I have 1 MDI form on which there are 2 picture box , when I am opening child form it goes behind the picture box.
Here is the code for opening child form

private void schoolToolStripMenuItem_Click(object sender, EventArgs e)
        {
            classSetup cs = new classSetup();
            cs.MdiParent = this;
            cs.Show();
        }

Set your main form property IsMdiContainer to true

private void toolStripMenuItem_Click(object sender, EventArgs e)
        {

            Form f1 = new Form();
            f1.MdiParent = this;
            f1.Show();
        }

is this what you want?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.