0

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

Edited by Dani: Formatting fixed

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by bhagawatshinde
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.