摘要: 1 Time.Begin(); 2 for (double i = 0; i < 100000000; i++) 3 { 4 int temp = 0; 5 if (temp == 0) temp = 1; 6 else temp = 2; 7 } 8 Time.End(); 9 Console.WriteLine(Time.HmsTicks);10 11... 阅读全文
posted @ 2012-11-05 14:57 vayne 阅读(470) 评论(0) 推荐(0) 编辑
摘要: 1 function hideBox(event,obj) { 2 var event = event || window.event; 3 var oBox = obj; 4 var oTarget = event.relatedTarget || event.toElement; 5 if (contains(oBox, oTarget)) { 6 return; 7 } else { 8 obj.style.display = "none"; 9 }10 }11 12 function contains(r... 阅读全文
posted @ 2012-11-05 11:17 vayne 阅读(194) 评论(0) 推荐(0) 编辑