Displaying a form
In C# one thing i realised is, you can't show a form with the usual form.show() line of code. So the way I did it was by declaring the form first. In visual basic all I had to type was, "Dim Form As Form1". That might not be exactly right but it was something like that. How can I display a form in C#?

Kirtan PatelRank #292 · 8.6K reputationPosted Nov 29, 2009, 6:27 PM EST
Show Normal Form
Form2 f2 = new Form2();
f2.Show();
Display Form Like Dialog in which Only One Form active at a Time you can not Do any thing till Form 2 is Open
---------------------------------------------
Form2 f2 = new Form2();
f2.ShowDialog();
Sam HobbsRank #107 · 20.5K reputationPosted Nov 30, 2009, 6:22 AM EST
Nick Ingram12 reputationPosted Dec 1, 2009, 1:38 AM EST
Sam HobbsRank #107 · 20.5K reputationPosted Dec 1, 2009, 6:24 AM EST
Nick Ingram12 reputationPosted Dec 1, 2009, 1:40 PM EST