How to set tag property of button control in winForms
I want to set tag property. values will be "Connect" and "Disconnect" how to set?
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 May 2, 2014, 1:52 AM EDT
button1.Tag = "Connect";
// or
button1.Tag = "Disconnect";