/// <summary>
        /// Add an item.
        /// </summary>
        /// <param name="pmea"></param>
        /// <returns></returns>
        public int Add(ParseMessageEventArgs pmea)
        {
            int index = _alMessages.Add(pmea);

            _alMessagesInfo.Add(new ItemInfo(pmea));
            OnAdd();
            return(index);
        }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="Height"></param>
 /// <param name="?"></param>
 public ItemInfo(int Height, bool HeightValid, ParseMessageEventArgs pmea)
 {
     _iHeight      = Height;
     _bHeightValid = HeightValid;
     _pmeaMessage  = pmea;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public ItemInfo(ParseMessageEventArgs pmea)
 {
     _iHeight      = 0;
     _bHeightValid = false;
     _pmeaMessage  = pmea;
 }
 /// <summary>
 /// Insert an item.
 /// </summary>
 /// <param name="index"></param>
 /// <param name="pmea"></param>
 public void Insert(int index, ParseMessageEventArgs pmea)
 {
     _alMessages.Insert(index, pmea);
     _alMessagesInfo.Insert(index, new ItemInfo(pmea));
     OnInsert(index);
 }
 /// <summary>
 /// Index of the item.
 /// </summary>
 /// <param name="pmea"></param>
 /// <returns></returns>
 public int IndexOf(ParseMessageEventArgs pmea)
 {
     return(_alMessages.IndexOf(pmea));
 }