コード例 #1
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            GaugePanelItem gaugePanelItem = (GaugePanelItem)base.PublishClone(context);

            if (m_action != null)
            {
                gaugePanelItem.m_action = (Action)m_action.PublishClone(context);
            }
            if (m_top != null)
            {
                gaugePanelItem.m_top = (ExpressionInfo)m_top.PublishClone(context);
            }
            if (m_left != null)
            {
                gaugePanelItem.m_left = (ExpressionInfo)m_left.PublishClone(context);
            }
            if (m_height != null)
            {
                gaugePanelItem.m_height = (ExpressionInfo)m_height.PublishClone(context);
            }
            if (m_width != null)
            {
                gaugePanelItem.m_width = (ExpressionInfo)m_width.PublishClone(context);
            }
            if (m_zIndex != null)
            {
                gaugePanelItem.m_zIndex = (ExpressionInfo)m_zIndex.PublishClone(context);
            }
            if (m_hidden != null)
            {
                gaugePanelItem.m_hidden = (ExpressionInfo)m_hidden.PublishClone(context);
            }
            if (m_toolTip != null)
            {
                gaugePanelItem.m_toolTip = (ExpressionInfo)m_toolTip.PublishClone(context);
            }
            return(gaugePanelItem);
        }
コード例 #2
0
 internal GaugePanelItem(Microsoft.ReportingServices.ReportIntermediateFormat.GaugePanelItem defObject, GaugePanel gaugePanel)
 {
     m_defObject  = defObject;
     m_gaugePanel = gaugePanel;
 }