예제 #1
0
 public void RevertFingerState()
 {
     for (int i = 0; i < this.GdTips.Children.Count; i++)
     {
         TipItem oItem = this.GdTips.Children[i] as TipItem;
         if (oItem != null)
         {
             oItem.RevertState();
         }
     }
 }
예제 #2
0
 private void InitUI()
 {
     for (int i = 0; i < this.GdTips.Children.Count; i++)
     {
         TipItem oItem = this.GdTips.Children[i] as TipItem;
         if (oItem != null)
         {
             double dMarginBottom = (this.BdrPalm.Height - oItem.Height) / 2d;
             oItem.Margin = new Thickness(0, 0, 0, dMarginBottom);
             oItem.ScaleX = 0.5;
             oItem.ScaleY = 0.5;
         }
     }
 }