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; }