Dark Slipstream Posted May 12, 2009 Report Posted May 12, 2009 (edited) Removed. Edited August 17, 2009 by Dark Slipstream
EsjayIzBack Posted May 12, 2009 Report Posted May 12, 2009 (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 May 12, 2009 by EsjayIzBack
Dark Slipstream Posted May 12, 2009 Author Report Posted May 12, 2009 I replaced newForm with Form1, but you shouldn't assign Form1 to Form1, that can arise to problems.
iBotPeaches Posted May 12, 2009 Report Posted May 12, 2009 When I do mine I do intro intro = new intro(); intro.Show(); I assume that will get errors some time. If my form name is (intro) that I want to appear which do I change and which do I leave?
Dark Slipstream Posted May 12, 2009 Author Report Posted May 12, 2009 intro in = new intro(); intro.Show(); Make it look like that. This way it won't error. If you are using namespaces in your project, don't worry about changing it.
EsjayIzBack Posted May 12, 2009 Report Posted May 12, 2009 I replaced newForm with Form1, but you shouldn't assign Form1 to Form1, that can arise to problems. I was just using Form1 as an example.
yungbol Posted May 13, 2009 Report Posted May 13, 2009 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();
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now