With some excellent help from others, I've created [pieced added/modifed together from more intelligent peoples help ] a ControlArray Class that when called, creates and adds buttons and text boxes on a "row". Each click of a static Add button on my form creates a new row of dynamic buttons below it on the form. I have the code funtioning to add/remove rows by clicking the appropriate button the row needing action taken.
I need, when each of the rows are created, to create an run a timer with realtime, but independent updates on time elapsed. I have created and tested my timer code that works for a single timer to start, pause, stop contine etc.
However, as I'm learning, a timer is NOT a control so it cannot be added to my controlArray class OR I'm doing something wrong.
How do I add timer code to create independent timers for each row when my dynmic control rows are created?
I've attached the code for the controlArray and the code I wrote to do my timer functions. I know the code is crude as I'm just learning. Please suggest and criticize but try to keep your statements to upper beginner or intermediate with pointers on where to research what you're suggesting so I can learn and understand.
Thanks for any help/thoughts to this newbie programmer.