new form instance independant from its mother.

  • Thread starter Thread starter Romain TAILLANDIER
  • Start date Start date
R

Romain TAILLANDIER

Hi group

I have this :

public class MyApp : System.Windows.Forms.Form
{
...
private void btnNewMe_Click(object sender, System.EventArgs e)

{
MyApp app = new MyApp();
app.show()
}

}

When I click on the button btnNewMe, I want to create an independant
instance of MyApp. but when I close the mother app, all the daugther apps
are closing. I don't want to !
how can i make them independant from the MyApp wich instanciate them ?

thanks,
ROM
 
Back
Top