public void Insert(DemoShape item) { this.Insert(new DemoItem(item), item.Bounds, 0); if (Changed != null) { Changed(this, EventArgs.Empty); } }
public DemoItem(DemoShape shape) { this.shape = shape; this.IsVisible = true; }