how close an open form in c sharp code example
Example: c# open a new form and close current
{
this.Hide();
Form1 f1 = new Form1();
f1.ShowDialog();
this.Close();
}
{
this.Hide();
Form1 f1 = new Form1();
f1.ShowDialog();
this.Close();
}