Пример #1
0
 public CustomLabel this[string name]
 {
     get
     {
         for (int i = 0; i < Count; i++)
         {
             Microsoft.ReportingServices.ReportIntermediateFormat.CustomLabel customLabel = m_gaugeScale.GaugeScaleDef.CustomLabels[i];
             if (string.CompareOrdinal(name, customLabel.Name) == 0)
             {
                 return(base[i]);
             }
         }
         throw new RenderingObjectModelException(ProcessingErrorCode.rsNotInCollection, name);
     }
 }
Пример #2
0
 internal CustomLabel(Microsoft.ReportingServices.ReportIntermediateFormat.CustomLabel defObject, GaugePanel gaugePanel)
 {
     m_defObject  = defObject;
     m_gaugePanel = gaugePanel;
 }