Perform two operations with a button
Please somebody help me on how i can make a button perform multiple operations?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Jan 30, 2013, 6:55 AM EST
private void button1_Click(object sender, EventArgs e)
{
label1.Text = "I'm performing";
label2.Text = "multiple operations";
button2.PerformClick(); // programatically click button2
}