two windows
I have 2 windows. My program execute the first one.
Application.Run(new form1());
I want to close my first form when I click a button and run the second form. how can I do that?? if i say this.close() in the button_click() the aplication will stop and not execute the second form.
AlanPosted Jun 9, 2007, 6:32 AM
The best you can do is to hide it using the Hide() method.