示例#1
0
        private void SaveGame(object sender, RoutedEventArgs e)
        {
            chessBoard.UnselectPiece(chessBoard.GetCurrentPieceNumber());
            savedGame.Save(chessBoard);
            TextBlock autoSave = (TextBlock)this.FindName("autosave");

            autoSave.Opacity = 1;
        }