private void button2_Click(object sender, EventArgs e) { MessageBox.Show("Test"); button2_Click(sender, e); }
button1.PerformClick();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)