2012-10-12 96 views

回答

1

這裏有雲:

TouchCollection touchCollection = TouchPanel.GetState(); 
     foreach (TouchLocation tl in touchCollection) 
     { 
      if (tl.State == TouchLocationState.Pressed) 
      { 
        ...on touch down code 
      } 

      if (tl.State == TouchLocationState.Released) 
      { 
        ...on touch up code 
      } 

     }