public void AddItem(string Entry, ItemColor Clr = ItemColor.Default, string UniqueID = null, OnListControlEntryClick OnClick = null) { Entries.Add(new ListControlEntry(Entry, Clr, UniqueID, OnClick)); }
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; }