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?
0 · ·