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#?
Nick IngramPosted Dec 1, 2009, 6:40 PM
Sam HobbsPosted Dec 1, 2009, 11:24 AM
Nick IngramPosted Dec 1, 2009, 6:38 AM
Sam HobbsPosted Nov 30, 2009, 11:22 AM
Kirtan PatelPosted Nov 29, 2009, 11:27 PM
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();