Inheritance: LayoutFarm.CustomWidgets.EaseBox, IDesignBox
Ejemplo n.º 1
0
        public UIElement CloneDesignBox()
        {
            var newRectBox = new DesignRectBox(this.Width, this.Height);

            newRectBox.BackColor = this.BackColor;
            return(newRectBox);
        }
Ejemplo n.º 2
0
        public void AddNewBox(int x, int y, int w, int h)
        {
            //add new user box
            var box1 = new DesignRectBox(w, h);

            box1.BackColor = Color.Red;
            box1.SetLocation(x, y);
            SetupActiveBoxProperties(box1);
            viewport.AddContent(box1);
            userBoxes.Add(box1);
        }
Ejemplo n.º 3
0
 public void AddNewBox(int x, int y, int w, int h)
 {
     //add new user box
     var box1 = new DesignRectBox(w, h);
     box1.BackColor = Color.Red;
     box1.SetLocation(x, y);
     SetupActiveBoxProperties(box1);
     viewport.AddContent(box1);
     userBoxes.Add(box1);
 }
Ejemplo n.º 4
0
 public UIElement CloneDesignBox()
 {
     var newRectBox = new DesignRectBox(this.Width, this.Height);
     newRectBox.BackColor = this.BackColor;
     return newRectBox;
 }