Hi Everyone,
I have about 30 Controls that I have to modify differently in each one of the states of my UI state machine. I would like to know what is the best way to implement this process. I have asked several colleagues and they have provided various options. Please, let me know what you think:
Option 1
Option 2
Create references to all my controls, bundle them into a cluster and pass it into my state machine using a shift register. Then when the application ends, close the references.
If I was to use option 2, Do I have to close the references after I use them?
In advanced, I thank you for your input.
Regards,
DFR