private void CheckResetEventInfo()
 {
     if (!this.m_eventInfo.Changed)
     {
         EventInformation.RendererEventInformation rendererEventInformation = this.m_eventInfo.GetRendererEventInformation(this.m_rendererID);
         rendererEventInformation.Reset();
         this.m_eventInfo.Changed = true;
     }
 }
 public void AddValidToggleSender(string senderUniqueName)
 {
     this.CheckResetEventInfo();
     EventInformation.RendererEventInformation rendererEventInformation = this.m_eventInfo.GetRendererEventInformation(this.m_rendererID);
     if (rendererEventInformation.ValidToggleSenders == null)
     {
         rendererEventInformation.ValidToggleSenders = new Hashtable();
     }
     if (!rendererEventInformation.ValidToggleSenders.ContainsKey(senderUniqueName))
     {
         rendererEventInformation.ValidToggleSenders.Add(senderUniqueName, null);
         this.m_eventInfo.Changed = true;
     }
 }
 public void AddDrillthroughAction(string drillthroughId, string reportName, DrillthroughParameters reportParameters)
 {
     if (this.m_rendererID != null)
     {
         this.CheckResetEventInfo();
         EventInformation.RendererEventInformation rendererEventInformation = this.m_eventInfo.GetRendererEventInformation(this.m_rendererID);
         if (rendererEventInformation.DrillthroughInfo == null)
         {
             rendererEventInformation.DrillthroughInfo = new Hashtable();
         }
         if (!rendererEventInformation.DrillthroughInfo.ContainsKey(drillthroughId))
         {
             rendererEventInformation.DrillthroughInfo.Add(drillthroughId, new DrillthroughInfo(reportName, reportParameters));
             this.m_eventInfo.Changed = true;
         }
     }
 }