void Button1_Click(object sender, EventArgs e)
{
int i = 0;
while (i<=5){
button2.performClick();
i++;}
}