public static void Set(string position, Size parentSize, Control obj) { Point point = Metodos.GetLocation(position, obj.Size, parentSize); obj.Location = point; }
public static void Percent(Point a, Point b, Form obj, Size parentSize) { Metodos.SetPercentPointVar(a, b, obj.Parent.Size); obj.Location = VariablesP.pointA; }
public static void Percent(Point a, Point b, Control obj) { Metodos.SetPercentPointVar(a, b, obj.Parent.Size); obj.Location = VariablesP.pointA; }
public static void PercentText(Point a, Point b, Control obj, float txtSize = 2) { Metodos.SetSizeVar(a, b, obj.Parent.Size); obj.Size = VariablesP.size; obj.Font = Metodos.TxtAdjustByHeight(obj.Size, obj.Font, txtSize); }
public static void Percent(Point a, Point b, Control obj) { Metodos.SetSizeVar(a, b, obj.Parent.Size); obj.Size = VariablesP.size; }
public static void Percent(Size size, Form obj, Size parentSize) { Metodos.SetSizePixels(size, parentSize); obj.Size = VariablesP.size; }