Example #1
0
 public int Add(ParseMessageEventArgs pmea)
 {
     var index = messages.Add(pmea);
     messagesInfo.Add(new ItemInfo(pmea));
     OnAdd();
     return index;
 }
Example #2
0
 public void Insert(int index, ParseMessageEventArgs pmea)
 {
     messages.Insert(index, pmea);
     messagesInfo.Insert(index, new ItemInfo(pmea));
     OnInsert(index);
 }
Example #3
0
 public int IndexOf(ParseMessageEventArgs pmea)
 {
     return messages.IndexOf(pmea);
 }
Example #4
0
 public ItemInfo(int height, bool heightValid, ParseMessageEventArgs eventArgs)
 {
     this.height = height;
     HeightValid = heightValid;
     eventArgsMessage = eventArgs;
 }
Example #5
0
 public ItemInfo(ParseMessageEventArgs eventArgs)
 {
     height = 0;
     HeightValid = false;
     eventArgsMessage = eventArgs;
 }