public graphicsSet createGridSet(Point move, Rectangle locAndSize, int scaler, int gN, int step, int pen1, int pen2)
        {
            graphicsSet myGSet = new graphicsSet("grid " + gN, new Rectangle(new Point(locAndSize.X + move.X, locAndSize.Y + move.Y), locAndSize.Size));

            for (int i = step; i < (locAndSize.Y / scaler); i = i + step)
            {
                myGSet.addObjectToSet(new graphicsObject(0, pen2, new Rectangle(new Point(0, i), new Size(locAndSize.Y / scaler, 0))));
                myGSet.addObjectToSet(new graphicsObject(0, pen2, new Rectangle(new Point(i, 0), new Size(0, locAndSize.X / scaler))));
                myGSet.addObjectToSet(new graphicsObject(0, pen2, new Rectangle(new Point(0, -i), new Size(locAndSize.Y / scaler, 0))));
                myGSet.addObjectToSet(new graphicsObject(0, pen2, new Rectangle(new Point(-i, 0), new Size(0, locAndSize.X / scaler))));
            }
            myGSet.addObjectToSet(new graphicsObject(0, pen1, new Rectangle(new Point(0, 0), new Size(locAndSize.Y / scaler, 0))));
            myGSet.addObjectToSet(new graphicsObject(0, pen1, new Rectangle(new Point(0, 0), new Size(0, locAndSize.X / scaler))));

            myGSet.addObjectToSet(new graphicsObject(0, pen1, new Rectangle(new Point(0, locAndSize.Y / scaler), new Size(locAndSize.Y / scaler, 0))));
            myGSet.addObjectToSet(new graphicsObject(0, pen1, new Rectangle(new Point(0, -locAndSize.Y / scaler), new Size(locAndSize.Y / scaler, 0))));
            myGSet.addObjectToSet(new graphicsObject(0, pen1, new Rectangle(new Point(locAndSize.X / scaler, 0), new Size(0, locAndSize.X / scaler))));
            myGSet.addObjectToSet(new graphicsObject(0, pen1, new Rectangle(new Point(-locAndSize.X / scaler, 0), new Size(0, locAndSize.X / scaler))));

            return(myGSet);
        }
        /*--------Functions-----------*/

        /*-Graphics Sets Management-*/

        public int addGSet(graphicsSet gSet)
        {
            gSets.Add(gSet);
            return(gSets.Count - 1);
        }