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

            if (m_hueColor != null)
            {
                pointerImage.m_hueColor = (ExpressionInfo)m_hueColor.PublishClone(context);
            }
            if (m_transparency != null)
            {
                pointerImage.m_transparency = (ExpressionInfo)m_transparency.PublishClone(context);
            }
            if (m_offsetX != null)
            {
                pointerImage.m_offsetX = (ExpressionInfo)m_offsetX.PublishClone(context);
            }
            if (m_offsetY != null)
            {
                pointerImage.m_offsetY = (ExpressionInfo)m_offsetY.PublishClone(context);
            }
            return(pointerImage);
        }
예제 #2
0
 internal PointerImage(Microsoft.ReportingServices.ReportIntermediateFormat.PointerImage defObject, GaugePanel gaugePanel)
     : base(defObject, gaugePanel)
 {
     m_defObject  = defObject;
     m_gaugePanel = gaugePanel;
 }
예제 #3
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Action:
                    m_action = (Action)reader.ReadRIFObject();
                    break;

                case MemberName.Name:
                    m_name = reader.ReadString();
                    break;

                case MemberName.GaugeInputValue:
                    m_gaugeInputValue = (GaugeInputValue)reader.ReadRIFObject();
                    break;

                case MemberName.BarStart:
                    m_barStart = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DistanceFromScale:
                    m_distanceFromScale = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.PointerImage:
                    m_pointerImage = (PointerImage)reader.ReadRIFObject();
                    break;

                case MemberName.MarkerLength:
                    m_markerLength = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MarkerStyle:
                    m_markerStyle = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Placement:
                    m_placement = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.SnappingEnabled:
                    m_snappingEnabled = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.SnappingInterval:
                    m_snappingInterval = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ToolTip:
                    m_toolTip = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Hidden:
                    m_hidden = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Width:
                    m_width = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ExprHostID:
                    m_exprHostID = reader.ReadInt32();
                    break;

                case MemberName.ID:
                    m_id = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }