I have an app that uses a timer to blink a label on a panel asking for user interaction.
On restart or resume of the app the timer is enabled again.
However, very often but not always, the tick event will fire before the panel and label has had a chance to be initialized which causes an exception.
Is there a way to make sure the timer has no pending events on restart?
Thanks for help! Georg
On restart or resume of the app the timer is enabled again.
However, very often but not always, the tick event will fire before the panel and label has had a chance to be initialized which causes an exception.
Is there a way to make sure the timer has no pending events on restart?
Thanks for help! Georg