There is two Forms in my project : Form1 and Form2. There is a button in Form1, and what I want to do is closing Form1 and showing Form2 when that button clicked.
Fi
You can take this way:
form2 f2=new form2() this.Hide(); f2.Show();
Hope it was helpful.