Exemplo n.º 1
0
 private bool ShowLostWindow()
 {
     return(ShowDialog(PopupDialog.GameLost) ?
            ThreadPool.QueueUserWorkItem(a => game.StartNew()) :
            ThreadPool.QueueUserWorkItem(a => game.Restart()));
 }