public void Remove(GumpEntry g) { if (g == null || !m_Entries.Contains(g)) { return; } Invalidate(); m_Entries.Remove(g); g.Parent = null; }
public void Add(GumpEntry g) { if (g.Parent != this) { g.Parent = this; } else if (!m_Entries.Contains(g)) { Invalidate(); m_Entries.Add(g); } }