예제 #1
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            RadialPointer radialPointer = (RadialPointer)base.PublishClone(context);

            if (m_type != null)
            {
                radialPointer.m_type = (ExpressionInfo)m_type.PublishClone(context);
            }
            if (m_pointerCap != null)
            {
                radialPointer.m_pointerCap = (PointerCap)m_pointerCap.PublishClone(context);
            }
            if (m_needleStyle != null)
            {
                radialPointer.m_needleStyle = (ExpressionInfo)m_needleStyle.PublishClone(context);
            }
            return(radialPointer);
        }
예제 #2
0
        internal void SetExprHost(RadialScaleExprHost exprHost, ObjectModelImpl reportObjectModel)
        {
            Global.Tracer.Assert(exprHost != null && reportObjectModel != null);
            SetExprHost((GaugeScaleExprHost)exprHost, reportObjectModel);
            m_exprHost = exprHost;
            IList <RadialPointerExprHost> radialPointersHostsRemotable = ((RadialScaleExprHost)m_exprHost).RadialPointersHostsRemotable;

            if (m_gaugePointers == null || radialPointersHostsRemotable == null)
            {
                return;
            }
            for (int i = 0; i < m_gaugePointers.Count; i++)
            {
                RadialPointer radialPointer = m_gaugePointers[i];
                if (radialPointer != null && radialPointer.ExpressionHostID > -1)
                {
                    radialPointer.SetExprHost(radialPointersHostsRemotable[radialPointer.ExpressionHostID], reportObjectModel);
                }
            }
        }
예제 #3
0
 public RadialPointer this[string name]
 {
     get
     {
         for (int i = 0; i < Count; i++)
         {
             Microsoft.ReportingServices.ReportIntermediateFormat.RadialPointer radialPointer = m_radialScale.RadialScaleDef.GaugePointers[i];
             if (string.CompareOrdinal(name, radialPointer.Name) == 0)
             {
                 return(base[i]);
             }
         }
         throw new RenderingObjectModelException(ProcessingErrorCode.rsNotInCollection, name);
     }
 }
예제 #4
0
 internal RadialPointer(Microsoft.ReportingServices.ReportIntermediateFormat.RadialPointer defObject, GaugePanel gaugePanel)
     : base(defObject, gaugePanel)
 {
     m_defObject  = defObject;
     m_gaugePanel = gaugePanel;
 }