Пример #1
0
 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);
 }
Пример #2
0
 public static void Percent(Point a, Point b, Control obj)
 {
     Metodos.SetSizeVar(a, b, obj.Parent.Size);
     obj.Size = VariablesP.size;
 }