private void button1_Click(object sender, EventArgs e) { PHP newForm1 = new PHP(); newForm1.Close(); Form1 newForm = new Form1(); newForm.Show(); }