Silverlight: stop thread while waiting for user feedback

Posted by queen3 on Stack Overflow See other posts from Stack Overflow or by queen3
Published on 2010-05-27T12:58:04Z Indexed on 2010/05/27 13:01 UTC
Read the original article Hit count: 318

Filed under:

Is it OK to stop current thread until user click some buttons in Silverlight? E.g.

var clicked = false;
ShowDialog(EventOnClosed => clicked = true);
while (!clicked) {};
return;

© Stack Overflow or respective owner

Related posts about Silverlight