/// <summary> /// Remove the legend from the list /// </summary> /// <param name="pLegend"></param> public void Remove(Legend pLegend) { this.List.Remove(pLegend); }
/// <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(); }
/// <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); } }