C# Form Opening

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • str1ker
    New Member
    • Jun 2006
    • 23

    C# Form Opening

    Hi,

    I'm sorry that this question is really noobish, but I've looked in the help file, I've just tried using help from the intelisense, but I have no idea as to how I can open another form.

    In Visual C#, I've created a program, that'll be for taking joystick axis information, and manipulate it, and I've already got that working, but I have a second form, named AboutBox1, and soon, I'll be adding an Options form. But I can't seem to find a way of making them open.

    In Visual BASIC, it's just a matter of putting AboutBox1.Show( ) but there is nothing like that in C#...

    Anyway, sorry again, and thanks.

    Sincerely,

    Str!ker
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Moving this to the .NET forum.

    Comment

    • Annath
      New Member
      • Jun 2007
      • 9

      #3
      You should just be able to do this:
      Code:
      AboutBox1 about = new AboutBox1();
      about.Show();
      or
      Code:
      new AboutBox1().Show();

      Comment

      Working...