11 2011 档案

摘要:1 (function($){ 2 $.fn.lsMovePanel=function(){ 3 var id=this.attr("id"); 4 var X=Y=0; 5 var offsetX=offsetY=0;//绝对位置 6 var OldIndex=0;///存储原始索引 7 var Temp_Li="<li id=\"Temp_Li\" style=\"background-color:#FFFFFF;border-color:#FF023C\"></li>"; 8 ... 阅读全文
posted @ 2011-11-24 09:10 十年一刻·i 阅读(765) 评论(1) 推荐(2)
摘要:每次坐火车都想靠着窗户坐,看看风景人也舒服些,在网上找了下座位计算的方法,就做了一个小应用注:不包括高铁和动车计算的代码:View Code 1 int Num; 2 if (int.TryParse(this.phoneTextBox_Num.Text.ToString(), out Num)) 3 { 4 Debug.WriteLine(Num.ToString()); 5 if (Num > 0 && Num <= 118) 6 ... 阅读全文
posted @ 2011-11-20 09:28 十年一刻·i 阅读(886) 评论(4) 推荐(0)
摘要:View Code 1 function lsFloat(id,location,intervalshow){ 2 this.ID=id; 3 this.InnerHTML=""; 4 this.Location=location; 5 this.IntervalShow=intervalshow; 6 this.CloseButton=true; 7 this.Width=0; 8 this.Height=0; 9 this.IE6CalibrationlsTop=6;//校准IE6偏差 10 } 11 //... 阅读全文
posted @ 2011-11-16 09:41 十年一刻·i 阅读(575) 评论(1) 推荐(0)
摘要:首先建立一个Song.cs,用于保存歌曲信息View Code 1 using System; 2 using System.Net; 3 using System.Windows; 4 using System.Windows.Controls; 5 using System.Windows.Documents; 6 using System.Windows.Ink; 7 using System.Windows.Input; 8 using System.Windows.Media; 9 using System.Windows.Media.Animation;10 using Syst. 阅读全文
posted @ 2011-11-10 15:14 十年一刻·i 阅读(750) 评论(6) 推荐(1)
摘要:Push Notification简介目前,Windows Phone支持三种Push Notification方式:Toast Notifications、Tile Notifications和Raw Notifications,我不想翻译成中文名字了,因为“吐司”之类的翻译无法帮助理解。Toast Notifications,当我们的程序没有运行时,我们希望有一种形式可以通知用户,并且让用户调用对应的应用,就像收到SMS时,调用Messaging程序一样。运行效果如下图,当用户点击Toast时,可以调用对应的程序。Tile Notifications,用于更新启动界面上的Tile,可以通过 阅读全文
posted @ 2011-11-08 11:35 十年一刻·i 阅读(847) 评论(0) 推荐(0)
摘要:代码 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Net; 5 using System.Windows; 6 using System.Windows.Controls; 7 using System.Windows.Documents; 8 using System.Windows.Input; 9 using System.Windows.Media; 10 using System.Windows.Media.Animation; 11 ... 阅读全文
posted @ 2011-11-07 11:35 十年一刻·i 阅读(1073) 评论(7) 推荐(1)