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?
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 May 2, 2014, 5:52 AM
button1.Tag = "Connect";
// or
button1.Tag = "Disconnect";