Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Question related to what property to use in C#

newenglandguynewenglandguy Posts: 2Member
I am teaching myself programming and got several books on Visual C#. I am trying to do a small project where I turn on or turn off buttons on a form. By turning off or on, I will color them a certain color whether I want them "off" or "on". I'm having difficulty trying to figure out which button property is best to check to see if I should "color" it or not. Can you build an array of buttons? And then how do I access the text property in the button to make decisions on?

Is there a way to create and array of buttons or do you just have to place them, one by one, on the form?
Sign In or Register to comment.