Loading secondary form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Are you simply looking for syntax conversion?

Form2 form2 = new Form2();
form2.Show();
 
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
 
Back
Top