Exemple #1
0
        public static RectangleBuilder CopyRectangle(RectangleBuilder tempRectangle)
        {
            RectangleBuilder temp = new RectangleBuilder(tempRectangle.formGraphics, tempRectangle.ThisObject, tempRectangle.ObjectColor,
                                                         tempRectangle.timer);

            return(temp);
        }
Exemple #2
0
 public RectangleBuilder(Graphics fg, System.Drawing.Rectangle rec, UserColor color, Timer timerCustom)
 {
     formGraphics = fg;
     ThisObject   = rec;
     ObjectColor  = color;
     timer        = timerCustom;
     _cbInstance  = this;
 }