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