private void InitializeResults(int n) { for (int i = 0; i < n; i++) { VerticalTargets.Add(new ResultBoxWrapper(new ResultBox { FontSize = resFontSize, Size = cellSize, Status = "#6D4C41" })); HorizontalTargets.Add(new ResultBoxWrapper(new ResultBox { FontSize = resFontSize, Size = cellSize, Status = "#6D4C41" })); } }