public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.GaugeMember:
                    ChildGaugeMember = (GaugeMember)reader.ReadRIFObject();
                    break;

                case MemberName.ColumnMembers:
                    m_innerMembers = reader.ReadListOfRIFObjects <GaugeMemberList>();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.GaugeMember:
                    GaugeMember = (GaugeMember)reader.ReadRIFObject();
                    break;

                case MemberName.GaugeRowMember:
                    GaugeRowMember = (GaugeMember)reader.ReadRIFObject();
                    break;

                case MemberName.GaugeRow:
                    GaugeRow = (GaugeRow)reader.ReadRIFObject();
                    break;

                case MemberName.LinearGauges:
                    m_linearGauges = reader.ReadGenericListOfRIFObjects <LinearGauge>();
                    break;

                case MemberName.RadialGauges:
                    m_radialGauges = reader.ReadGenericListOfRIFObjects <RadialGauge>();
                    break;

                case MemberName.NumericIndicators:
                    m_numericIndicators = reader.ReadGenericListOfRIFObjects <NumericIndicator>();
                    break;

                case MemberName.StateIndicators:
                    m_stateIndicators = reader.ReadGenericListOfRIFObjects <StateIndicator>();
                    break;

                case MemberName.GaugeImages:
                    m_gaugeImages = reader.ReadGenericListOfRIFObjects <GaugeImage>();
                    break;

                case MemberName.GaugeLabels:
                    m_gaugeLabels = reader.ReadGenericListOfRIFObjects <GaugeLabel>();
                    break;

                case MemberName.AntiAliasing:
                    m_antiAliasing = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.AutoLayout:
                    m_autoLayout = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.BackFrame:
                    m_backFrame = (BackFrame)reader.ReadRIFObject();
                    break;

                case MemberName.ShadowIntensity:
                    m_shadowIntensity = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.TextAntiAliasingQuality:
                    m_textAntiAliasingQuality = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.TopImage:
                    m_topImage = (TopImage)reader.ReadRIFObject();
                    break;

                case MemberName.ColumnMembers:
                    m_columnMembers = reader.ReadListOfRIFObjects <GaugeMemberList>();
                    break;

                case MemberName.RowMembers:
                    m_rowMembers = reader.ReadListOfRIFObjects <GaugeMemberList>();
                    break;

                case MemberName.Rows:
                    m_rows = reader.ReadListOfRIFObjects <GaugeRowList>();
                    break;

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