private void UpdatedStatus() { if (m_game.Over) { enPiece winner = m_game.Winner; if (winner != enPiece.Empty) { this.toolStripStatusLabel1.Text = winner.ToString() + " won!"; } else { this.toolStripStatusLabel1.Text = "the game is a draw!"; } //Save finished game if (!m_statistics.Games.ContainsValue(m_game) && !m_game.Saved) { m_statistics.Games.Add(DateTime.Now, m_game); m_game.Saved = true; //this.backgroundWorker1.RunWorkerAsync(); } } else { this.toolStripStatusLabel1.Text = "Next Move: " + m_game.CurrentPlayer.ToString(); } string score = String.Empty; score += " White: " + m_game.CurrentBoard.CountPieces(enPiece.White) + " "; score += " Black: " + m_game.CurrentBoard.CountPieces(enPiece.Black) + " "; this.toolStripStatusLabel1.Text += " (" + score + ")"; }