Start New Discussion Reply to this Discussion Loading a Second Form from the First Form Load
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
27 Minutes
Discussion Span
Related Article: Threading -> Parent form value to Child form
is a C# discussion thread by RonaldvanMeer that has 1 reply, was last updated 2 years ago and has been tagged with the keywords: child, forms, parent, threading.
dburris
Newbie Poster
7 posts since Dec 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Instead of show(); use showDialog();
Hope it works.
bhagawatshinde
Posting Whiz
338 posts since Sep 2010
Reputation Points: 21
Solved Threads: 22
Skill Endorsements: 0
© 2013 DaniWeb® LLC
Page rendered in 0.1078 seconds
using 2.66MB