I have 3 Forms. From Form1 I open Form3 and Form4 with a button. But than when I press a Button on Form4 I want to close both Form4 and Form3.(Don't worry about Form2)
Form1:
private void button1_Click(object sender, EventArgs e)
{
Form3 frm3 = new Form3();
frm3.Show();
Form4 frm4 = new Form4();
frm4.Show();
}
Form4:
private void button12_Click(object sender, EventArgs e){
this.Close();
//Plus close Form3