Groups | Blog | Home
all groups > c# > june 2005 >

c# : Loading secondary form



Ant
6/25/2005 6:27:02 PM
Hello,
How do you load a new secondary form in C#. This is the VB form style:
' Declare & instantiate
Dim form2 As New Form2()
' Then Show it
form2.Show()

Thank you iin advance
Ant
Ant
6/25/2005 11:44:01 PM
Hi, I was just after the ability to load a form in C# which is what your
answer gave me. Thanks for your reply.

Regards
Ant

[quoted text, click to view]
Tim Wilson
6/26/2005 12:00:00 AM
Are you simply looking for syntax conversion?

Form2 form2 = new Form2();
form2.Show();

--
Tim Wilson
..Net Compact Framework MVP

[quoted text, click to view]

AddThis Social Bookmark Button