Пример #1
0
 public void BindingDisplayCube(DisplayCube displayCube)
 {
     this.bingingDisplayCube = displayCube;
     if (displayCube == null)
     {
         this.owner.Selected = null;
         this.Visible        = false;
     }
     else
     {
         displayCube.SetSelect();
         this.ClientBounds = displayCube.Bounds;
         this.Visible      = true;
     }
     this.Invalidate();
 }
Пример #2
0
 public void AddDisplayCube(DisplayCube displayCube)
 {
     displayCube.Owner  = this;
     displayCube.ZIndex = displayCubes.Count;
     displayCubes.Add(displayCube);
 }