摘要: System.Diagnostics下类Stopwatch,给程序代码块运行计时, 利用start()和stop()方法来标记代码快。 该命名空间下还有一些其他类,可以对程序进行诊断(diagnosis)。 阅读全文
posted @ 2016-05-27 18:25 shinchan 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 原理 * 窗口抖动:即每隔一段很小的时间,窗口位置发生变化 * 时间控制:利用for循环||利用timer * 窗口位置发生变化:控件Left/Top属性或Location属性, 注:Left/Top属性值为int,Location属性值为point,推荐使用后者效率比较高。 阅读全文
posted @ 2016-05-27 17:35 shinchan 阅读(437) 评论(0) 推荐(0) 编辑