private void button2_Click(object sender, EventArgs e) { if (form3.ShowDialog() == DialogResult.OK) { form3.button2_Click(this, EventArgs.Empty); } }