Jump to content

cbox


Recommended Posts

Posted (edited)

You could use

 

Form1 Form1 = new Form1();

Form1.Show();

 

Replacing Form1 with the name of the form you want to pop up. This is pretty much the same as yours, but you didn't really clarify yours. Also, make sure that you have correct capitalization.

Edited by EsjayIzBack
Posted

I right click to create mines, name it "Example.cs", add what I want it to look like. Then I just add the following:

 

//First make the current form disappear.
this.Visible = false;

//Now create a new form
Example e = new Example();
e.Show();

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...