private void LoadFile(string fileName) { var gameFile = GameFile.Load(fileName); ChessGame.Load(gameFile); var moves = new List <Move>(); moves.AddRange(ChessGame.WhitePlayer.Moves); moves.AddRange(ChessGame.BlackPlayer.Moves); moves = moves.OrderBy(x => x.NumberInGame).ThenBy(x => x.Piece.Color).ToList(); foreach (var move in moves) { MoveToList(new Evaluation { Move = move }); } }