Example #1
0
        public static void Set(string position, Size parentSize, Form obj)
        {
            Point point = Metodos.GetLocation(position, obj.Size, parentSize);

            obj.StartPosition = FormStartPosition.Manual;
            obj.Location      = point;
        }
Example #2
0
        public static void SetScreen(string position, Size parentSize, Form obj, int screen)
        {
            Point point = Metodos.GetLocation(position, obj.Size, parentSize);

            obj.StartPosition = FormStartPosition.Manual;
            obj.Location      = point;
            Metodos.GetMovedPointScreen(obj.Location, screen);
        }
Example #3
0
        public static void Set(string position, Size parentSize, Control obj)
        {
            Point point = Metodos.GetLocation(position, obj.Size, parentSize);

            obj.Location = point;
        }