/// <summary>method write "Cell Distribution" section to document grid /// </summary> private void WriteCellDistributionSection(Grid parentGrid, double columnWidth) { const int colIndex = 0; double[] colWidth = new double[] { 1.75, columnWidth - 1.75 }; WriteSectionTitle(CellDistributionLabel, parentGrid, 0, colIndex); for (int i = 0; i < LeukemiaLymphomaReportData.CellNames.Length; i++) { WriteSectionRow(CellTitles[i], m_ReportData.GetCellDistributionValue(i), parentGrid, colWidth, i + 1, colIndex); } }
/// <summary>method add OBX segments collection for cell distribution section /// </summary> private void AddCellDistributionObxSegments() { AddObxSegmentsForSection(LeukemiaLymphomaReport.CellDistributionLabel); for (int i = 0; i < LeukemiaLymphomaReportData.CellNames.Length; i++) { AddObxSegment(string.Format("{0}: {1}", LeukemiaLymphomaReport.CellTitles[i], m_Data.GetCellDistributionValue(i))); } }