How do I build an array of buttons in a Winforms application?
What I am trying to do is this: I have a lot of buttons in a sort of calendar arrangement, that are indicating time slots. IE: Monday0700Button, Monday0730Button, Monday0800Button, and so on in 30min intervals.
I have a xml database, where one of the fields for appointments is
Yes, you can build a list of buttons like below.
List<Button> listOfButtons = new List<Button>(); listOfButtons.Add(yourButton);