Example #1
0
 /// <summary>
 /// Remove the legend from the list
 /// </summary>
 /// <param name="pLegend"></param>
 public void Remove(Legend pLegend)
 {
     this.List.Remove(pLegend);
 }
Example #2
0
 /// <summary>
 /// add the legend to the list
 /// </summary>
 /// <param name="pLegend">Legend</param>
 public void Add(Legend pLegend)
 {
     this.List.Add(pLegend);
     pLegend.SetLegendsEvent += new SetLegendsDelegate(pLegend_SetLegendsEvent);
     pLegend.SetCaptionEvent += new SetCaptionDelegate(pLegend_SetCaptionEvent);
     pLegend.SetColorEvent += new SetColorDelegate(pLegend_SetColorEvent);
     //serial();
 }
Example #3
0
 /// <summary>
 /// Add the range of legends
 /// </summary>
 /// <param name="pLegends"></param>
 public void AddRange(Legend[] pLegends)
 {
     foreach (Legend pLegend in pLegends)
     {
         this.List.Add(pLegend);
     }
 }