public void Remove(EditorListItem item) { if (_ItemsList.Controls.Remove(item)) { _IsCollectionChanged = true; } }
public void NewAfter(EditorListItem item) { int index = _ItemsList.Controls.IndexOf(item); if (index >= 0) { CacheGroupListItem newField = new CacheGroupListItem(this, new Framework.Managers.CacheObject()); _ItemsList.Controls.Insert(index + 1, newField); _IsCollectionChanged = true; } }
public void NewAfter(EditorListItem item) { int index = _ItemsList.Controls.IndexOf(item); if (index >= 0) { ImplantObjectListItem newItem = new ImplantObjectListItem(this, CreateNew()); _ItemsList.Controls.Insert(index + 1, newItem); _IsCollectionChanged = true; } }