Hello, I am attempting to load a second form from the first form load. Here is my code but nothing happens. Other threads I have read seem to indicate this will work but it isn't for me.

private void xForm1_Load(object sender, EventArgs e)
        {
            //Create an object of xForm3 and call it f3
            xForm3 f3 = new xForm3();

            //Show xForm3;
            f3.Show();

        }

Thanks,

David

Instead of show(); use showDialog();


Hope it works.

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.