예제 #1
0
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.GaugeCell:
                    GaugeCell = (GaugeCell)reader.ReadRIFObject();
                    break;

                case MemberName.GaugePanel:
                    m_gaugePanel = reader.ReadReference <GaugePanel>(this);
                    break;

                case MemberName.Cells:
                    m_cells = reader.ReadListOfRIFObjects <GaugeCellList>();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
예제 #2
0
 internal GaugeCell(GaugePanel owner, Microsoft.ReportingServices.ReportIntermediateFormat.GaugeCell gaugeCellDef)
 {
     m_owner        = owner;
     m_gaugeCellDef = gaugeCellDef;
 }