I want to open one form through another form by means of a button and close current form. i found how to do that but i tried my way and could not do that. why this code does not work
private void Button1_Click(object sender, EventArgs e)
{
Advise1 form = new Advise1();
form.Show();
this.Close();
}
I know how to solve my problem but i want to know why close() method do not close() first form. when i try this way two form are open after click on button.