Exemple #1
0
 /// <summary>
 /// 从一个 System.Windows.Forms.Padding 值中减去指定的另一个 System.Windows.Forms.Padding值。
 /// </summary>
 /// <param name="p1"></param>
 /// <param name="p2"></param>
 /// <returns></returns>
 public static GUIPadding Subtract(GUIPadding p1, GUIPadding p2)
 {
     return(p1 - p2);
 }
Exemple #2
0
 /// <summary>
 /// 计算两个指定的 System.Windows.Forms.Padding 值的总和。
 /// </summary>
 /// <param name="p1"></param>
 /// <param name="p2"></param>
 /// <returns></returns>
 public static GUIPadding Add(GUIPadding p1, GUIPadding p2)
 {
     return(p1 + p2);
 }