hello :)
i wanted to know, how can i change the shutdown mode of my Windows Form Application, @ MS Visual studio 2010.
i.e, my application should exit only when i close my last form.. & not when the main form is closed..
i remember, in .NET 2003 windows form application, i used to write following lines to move to forms to forms:
private void button1_Click(object sender, EventArgs e)
{
All_Deposits ad = new All_Deposits();
ad.Show();
this.Close();
}
this always worked perfectly.. but i'm in visual studio 2010, application exits, soon as this.Close() is called for the main form... so how can i change the app shutdown mode..?
thanks :)