Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 203
  • Last Modified:

C# Windows Form

I'm writing a simple C# Windows form application and I need to know how to make this happen - a user clicks on a menu button in Form1 and a different form comes up (Form2 in this case).
0
tsmolskow
Asked:
tsmolskow
1 Solution
 
bgloddeCommented:
Toggle the .Visibility property of the controls or the form itself.
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
In the event handler:

    Form2 f2 = new Form2();
    f2.Show();
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now