private void button1_Click(object sender, EventArgs e) { //edit clients Form editClient = new EditClientForm(); editClient.Show(); this.Hide(); editClient.FormClosed += otherFormClosed; }