Loading

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页
摘要: WebClient wc = new WebClient();var URI = new Uri("http://your_uri_goes_here");//If any encoding is needed.wc.Headers["Content-Type"] = "application/x-www-form-urlencoded";//Or any other encoding type.//If any key neededwc.Headers["KEY"] = "Your_Key_Goes_H 阅读全文
posted @ 2014-03-31 01:03 androllen 阅读(315) 评论(0) 推荐(0)
摘要: DateTime.Now.ToShortTimeString()DateTime dt = DateTime.Now;dt.ToString();//2005-11-5 13:21:25dt.ToFileTime().ToString();//127756416859912816dt.ToFileT... 阅读全文
posted @ 2014-03-30 20:40 androllen 阅读(256) 评论(0) 推荐(0)
摘要: Dispatcher.BeginInvoke(() => MessageBox.Show(String.Format("A push notification {0} error occurred. {1} ({2}) {3}", e.ErrorType, e.Message, e.ErrorCode, e.ErrorAdditionalData)) );用在其上创建了Dispatcher的线程的指定参数异步执行指定委托http://msdn.microsoft.com/zh-cn/l... 阅读全文
posted @ 2014-03-30 19:57 androllen 阅读(179) 评论(0) 推荐(0)
摘要: http://samples.msdn.microsoft.com/Silverlight/SampleBrowser/index.htm#/?sref=transforms_ovw_animating_transformspublic Storyboard HideStoryBoard(){Sto... 阅读全文
posted @ 2014-03-25 10:11 androllen 阅读(274) 评论(0) 推荐(0)
摘要: 1.公司的无线路由可以自动分发ip地址,模拟器可以自动获取ip,进行连接。宿舍的无线路设置了DHCP 不能自动分发ip地址,模拟器连接不到ip,上不去网,我就去hyper-v 管理器里修改了静态mac地址,删掉了快照,回到公司就不能上网了,我使用的是emulator WVGA 512MB提示:win... 阅读全文
posted @ 2014-03-25 09:49 androllen 阅读(313) 评论(0) 推荐(0)
摘要: 相关链接http://www.cnblogs.com/wildfeng/archive/2012/03/30/2425248.htmlhttp://www.cnblogs.com/jv9/archive/2010/04/14/1711520.html添加资源文件就不说了,下面说一下,如果给Rectangle 添加样式 放到 指定的资源文件里 阅读全文
posted @ 2014-03-21 11:25 androllen 阅读(277) 评论(0) 推荐(0)
摘要: 可自动换行的button ... 阅读全文
posted @ 2014-02-28 17:22 androllen 阅读(266) 评论(2) 推荐(0)
摘要: string jsonData = "{\"result\":\"600\",\"data\":{\"items\":[{\"no\":\"111\",\"uid\":\"3333333\"},{\"no\":\"2222\",\"uid\":\"44444444\"}]},\"head\":{\"server\&qu 阅读全文
posted @ 2014-02-23 18:59 androllen 阅读(837) 评论(0) 推荐(0)
摘要: Microsoft .NET Framework 3.5 Service Pack 1http://www.microsoft.com/zh-cn/download/details.aspx?id=22 阅读全文
posted @ 2014-02-20 09:42 androllen 阅读(192) 评论(0) 推荐(0)
摘要: using System.IO; /// /// 删除文件夹下所有文件 /// /// public void DeleteFolder(string dir) { //如果存在这个文件夹删除之 if (Directory.Exists(dir)) { foreach (string d in Directory.GetFileSystemEntries(dir)) { ... 阅读全文
posted @ 2014-01-07 16:58 androllen 阅读(356) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页