Perform two operations with a button
Please somebody help me on how i can make a button perform multiple operations?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Jan 30, 2013, 11:55 AM
private void button1_Click(object sender, EventArgs e)
{
label1.Text = "I'm performing";
label2.Text = "multiple operations";
button2.PerformClick(); // programatically click button2
}