4
Answers

Close Parent Form & open child form

Hi friends...! My question is.... I have 2 forms.I want to close first/main/Parent form when I open 2nd form using btn_click event. I went through several forums.But couldnt get a idea. I used this form1's btn_click event. Form2 f2=new Form2(); f2.Show(); this.Close(); but this will close whole application. I wanna close first/Parent form and open child form after the btn_click. ::::I'm using VS 2008 and C#:::: Thanks..... Charith
Answers (4)