Ejemplo n.º 1
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Type:
                    m_type = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.PointerCap:
                    m_pointerCap = (PointerCap)reader.ReadRIFObject();
                    break;

                case MemberName.NeedleStyle:
                    m_needleStyle = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
Ejemplo n.º 2
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            PointerCap pointerCap = (PointerCap)base.PublishClone(context);

            if (m_capImage != null)
            {
                pointerCap.m_capImage = (CapImage)m_capImage.PublishClone(context);
            }
            if (m_onTop != null)
            {
                pointerCap.m_onTop = (ExpressionInfo)m_onTop.PublishClone(context);
            }
            if (m_reflection != null)
            {
                pointerCap.m_reflection = (ExpressionInfo)m_reflection.PublishClone(context);
            }
            if (m_capStyle != null)
            {
                pointerCap.m_capStyle = (ExpressionInfo)m_capStyle.PublishClone(context);
            }
            if (m_hidden != null)
            {
                pointerCap.m_hidden = (ExpressionInfo)m_hidden.PublishClone(context);
            }
            if (m_width != null)
            {
                pointerCap.m_width = (ExpressionInfo)m_width.PublishClone(context);
            }
            return(pointerCap);
        }
Ejemplo n.º 3
0
 internal PointerCap(Microsoft.ReportingServices.ReportIntermediateFormat.PointerCap defObject, GaugePanel gaugePanel)
 {
     m_defObject  = defObject;
     m_gaugePanel = gaugePanel;
 }