コード例 #1
0
 /// <summary>
 /// 添加单元格
 /// </summary>
 private void AddCell(Row row, Cell cell, int rowIndex)
 {
     row.Add(cell);
     if (cell.RowSpan <= 1)
     {
         return;
     }
     for (int i = 1; i < cell.RowSpan; i++)
     {
         AddPlaceholderCell(cell, rowIndex + i);
     }
 }
コード例 #2
0
ファイル: Range.cs プロジェクト: BeiMeng/GitApplication
 /// <summary>
 /// 添加单元格
 /// </summary>
 private void AddCell( Row row, Cell cell, int rowIndex ) {
     row.Add( cell );
     if ( cell.RowSpan <= 1 )
         return;
     for ( int i = 1; i < cell.RowSpan; i++ )
         AddPlaceholderCell( cell, rowIndex + i );
 }