I want to wait for an event whch can be raised both by an user's choice (he should press one of two buttons, "OK" or "NO") or by a timer tick event (time out).
Is there a way to do it without needing to use a global variable?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.