private void InitItems() { this.squareItems.Clear(); this.provider.ForEachFigureReal((square, figure, color) => { this.squareItems.Add( new SquareItem(square, figure, color)); }); }