Наследование: LayoutFarm.CustomWidgets.EaseBox, IDesignBox
Пример #1
0
        public void AddNewRect(int x, int y, int w, int h)
        {
            //add new user box
            var box1 = new GraphicShapeBox(w, h);

            box1.BackColor = Color.Red;
            box1.SetLocation(x, y);
            SetupActiveBoxProperties(box1);
            viewport.AddContent(box1);
            userBoxes.Add(box1);
        }
Пример #2
0
 public UIElement CloneDesignBox()
 {
     GraphicShapeBox newCloneShape = new GraphicShapeBox(this.Width, this.Height);
     return newCloneShape;
 }
Пример #3
0
        public UIElement CloneDesignBox()
        {
            GraphicShapeBox newCloneShape = new GraphicShapeBox(this.Width, this.Height);

            return(newCloneShape);
        }
Пример #4
0
 public void AddNewRect(int x, int y, int w, int h)
 {
     //add new user box
     var box1 = new GraphicShapeBox(w, h);
     box1.BackColor = Color.Red;
     box1.SetLocation(x, y);
     SetupActiveBoxProperties(box1);
     viewport.AddContent(box1);
     userBoxes.Add(box1);
 }