Exemple #1
0
 protected override void InitializeCorner(InitializationContext context)
 {
     if (MapRow != null)
     {
         MapRow.Initialize(context);
     }
 }
Exemple #2
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            MapRow mapRow = (MapRow)base.PublishClone(context);

            if (m_cells != null)
            {
                mapRow.m_cells = new CellList();
                mapRow.Cell    = (MapCell)Cell.PublishClone(context);
            }
            return(mapRow);
        }
Exemple #3
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            MapDataRegion mapDataRegion = (MapDataRegion)(context.CurrentDataRegionClone = (MapDataRegion)base.PublishClone(context));

            mapDataRegion.m_parent        = context.CurrentMapClone;
            mapDataRegion.m_rows          = new MapRowList();
            mapDataRegion.m_rowMembers    = new MapMemberList();
            mapDataRegion.m_columnMembers = new MapMemberList();
            if (MapMember != null)
            {
                mapDataRegion.MapMember = (MapMember)MapMember.PublishClone(context, mapDataRegion);
            }
            if (MapRowMember != null)
            {
                mapDataRegion.MapRowMember = (MapMember)MapRowMember.PublishClone(context);
            }
            if (MapRow != null)
            {
                mapDataRegion.MapRow = (MapRow)MapRow.PublishClone(context);
            }
            return(mapDataRegion);
        }