Hello All,
I am new to the group, and this seems like an appropriate place for my question.
I am creating a windows console app, with .net 3.5. I would like to be able to dynamically display buttons based on user need. As this is for dynamic research the number of buttons need to change...not often, but to minimize code complexity it would be nice. Today it is 5, tomorrow it could be 15. Here is the sudo code of what I would like:
int NumberofButtons = 5
for (i = 0 to NumberofButtons)
- add new button
- Set name and text of button. (I know how to do this)
- position button
Thank you for your help,
Justin
I am new to the group, and this seems like an appropriate place for my question.
I am creating a windows console app, with .net 3.5. I would like to be able to dynamically display buttons based on user need. As this is for dynamic research the number of buttons need to change...not often, but to minimize code complexity it would be nice. Today it is 5, tomorrow it could be 15. Here is the sudo code of what I would like:
int NumberofButtons = 5
for (i = 0 to NumberofButtons)
- add new button
- Set name and text of button. (I know how to do this)
- position button
Thank you for your help,
Justin