Example #1
0
 public void AddItem(string Entry, ItemColor Clr = ItemColor.Default, string UniqueID = null, OnListControlEntryClick OnClick = null)
 {
     Entries.Add(new ListControlEntry(Entry, Clr, UniqueID, OnClick));
 }
Example #2
0
 public ListControlEntry(string Value, ItemColor Color, string Argument = null, OnListControlEntryClick OnClick = null)
 {
     this.Value    = Value;
     this.Color    = Color;
     this.OnClick  = OnClick;
     this.Argument = Argument;
     Clickable     = OnClick != null;
 }