1
如何在WP7中創建計步器?WP7 SDK計步器
我需要創建一個計步器研究
但我不怎麼辦計步器?
M = Math.Sqrt(args.X * args.X + args.Y * args.Y + args.Z * args.Z);
if (Tec == true)
{
if (M >= 2)
{
if (Magnitude == true)
{
counter = counter + 1;
Magnitude = false;
}
}
else
{
Magnitude = true;
}
}
哪裏是添加計數器計數? – Chicken 2012-03-28 04:18:30
if(!hasChanged) { isChange = true; counter ++; } – 2012-03-28 09:12:07
剛編輯得更明確 – Mentezza 2012-03-28 09:12:38