摘要: private static Point plocation = new Point(); public static void StartVibration(Form form)//Form 传入需要振动的窗体 { plocation = form.Location; for (int i = 1; i < 41; i++)//41,可以理解为震动的时间。注:时间需要被4取模=1 { if (i < 41) { switch (i % 4) { case 0: form.Location = plocation; break; case 1: form.Location = ne 阅读全文
posted @ 2012-07-19 18:21 殇伈de錑婲 阅读(293) 评论(0) 推荐(0) 编辑