Triggering a new window
Let's say I have button1. I have the event set up for when it clicks. How would I go about making a new window from that? For example, I have Form1, then when the user clicks button1 it pops up Form2.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

FroglegRank #1,020 · 1.9K reputationPosted Feb 19, 2011, 9:41 AM EST
fm2.Show();
Form2 fm2 = new Form2();Sam HobbsRank #107 · 20.5K reputationPosted Feb 20, 2011, 1:42 PM EST
Frogleg has it right but jumped a bit too quickly.
Form2 fm2 = new Form2();
fm2.Show();