示例#1
0
 public static void SizePositionText(int a1, int a2, int b1, int b2, Control obj, float txtSize = 2)
 {
     SizeAdju.PercentText(new Point(a1, a2), new Point(b1, b2), obj, txtSize);
     LocationAdju.Percent(new Point(a1, a2), new Point(b1, b2), obj);
 }
示例#2
0
 public static void SizePositionText(Point a, Point b, Control obj, float txtSize = 2)
 {
     SizeAdju.PercentText(a, b, obj, txtSize);
     LocationAdju.Percent(a, b, obj);
 }
示例#3
0
 //-------------------------------------
 public static void SizePosition(int a1, int a2, int b1, int b2, Control obj)
 {
     SizeAdju.Percent(new Point(a1, a2), new Point(b1, b2), obj);
     LocationAdju.Percent(new Point(a1, a2), new Point(b1, b2), obj);
 }
示例#4
0
 public static void SizePosition(Point a, Point b, Control obj)
 {
     SizeAdju.Percent(a, b, obj);
     LocationAdju.Percent(a, b, obj);
 }