永远的SKYFEI
喜欢在阳光下,光着脊梁,挥汗如雨地工作,每次回头擦汗,看到的都是成就!
摘要: step1: reconstruct the WebClient classpublicclassMyWebClient:WebClient{protectedoverrideWebRequestGetWebRequest(Uriaddress){HttpWebRequestrequest=base.GetWebRequest(address)asHttpWebRequest;request.Timeout=-1;request.CachePolicy=newSystem.Net.Cache.RequestCachePolicy(System.Net.Cache.RequestCacheLe. 阅读全文
posted @ 2011-04-08 10:46 skyfei 阅读(455) 评论(0) 推荐(0) 编辑
摘要: steps:open the window code page, and find the construction function;add code like below:publicMainWindow(){InitializeComponent();//CreatetheCommandBinding.CommandBindingcmd=newCommandBinding();cmd.Command=ApplicationCommands.New;cmd.Executed+=newExecutedRoutedEventHandler(CommandBinding_CmdKey_Exec. 阅读全文
posted @ 2011-04-08 10:07 skyfei 阅读(503) 评论(0) 推荐(1) 编辑