コード例 #1
0
ファイル: TableEx.cs プロジェクト: zanderzhg/Sc
        public void ProcessAllCellValue()
        {
            CellValueInfo cellValueInfo;

            string[]   cellCoord;
            RectangleF rect;

            foreach (var item in cellValueInfoDict)
            {
                cellValueInfo      = item.Value;
                cellValueInfo.g    = g;
                cellCoord          = item.Key.Split(',');
                rect               = GetCellContentRect(int.Parse(cellCoord[0]), int.Parse(cellCoord[1]));
                cellValueInfo.rect = TransToGlobalRect(rect);

                switch (cellValueInfo.type)
                {
                case CellValueType.Table:
                    TableEx ctable = (TableEx)cellValueInfo.value;
                    ctable.ProcessAllCellValue();
                    break;

                default:
                    cellValueInfo.valueProcess(cellValueInfo);
                    break;
                }
            }
        }
コード例 #2
0
 public void ProcessValue()
 {
     rootTable.ProcessAllCellValue();
 }