public void FillRows(Point OriPt,int layerIndex)
 {
     _LayerIndex = layerIndex;
     _Location = OriPt;
     Width = _ColumnCount * _CellColumnWidth;
     Height = (_ChannelWidth + 2 * _CellRowHeight) * _ChannelCount;
     _LayerSize.Width = _ColumnCount * _ChannelWidth;
     _LayerSize.Height = (_ChannelWidth + 2 * _CellRowHeight) * _ChannelCount;
     _LayerRect = new Rectangle(_Location, _LayerSize);
     //添加cell
     for (int R = 1; R <= _ChannelCount * 2; R++)
     {
         CellsRowGroup row = new CellsRowGroup();
         row.ColumnCount = _ColumnCount;
         row.CellColumnWidth = _CellColumnWidth;
         row.CellRowHeight = _CellRowHeight;
         row.LayerIndex = layerIndex;
         int x=_Location.X;
         int y=_Location.Y+ (R-1)*_CellRowHeight+R/2*_ChannelWidth;
         row.FillCells(new Point(x, y),LayerIndex,R);
         _RowsList.Add(row);
      }
 }
 public void Add(ref CellsRowGroup cellRow)
 {
     _RowsList.Add(cellRow);
 }