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; }
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); }
public static void Set(string position, Size parentSize, Control obj) { Point point = Metodos.GetLocation(position, obj.Size, parentSize); obj.Location = point; }