上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 44 下一页
摘要: 1. try to create new instance which need to parse to the call method in muliply threa method.,2. Singial instance: not to use the member in the signtan instance. otherwise, the thread sync problem will be a problem. which ist just for temp use.Try to create new one to pass to the method. Lock (thre. 阅读全文
posted @ 2012-01-12 17:25 higirle 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 下面是xml解析的代码:privatevoidreadEnvelope(stringstr){//<soap:Envelopexmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body//xmlns:amp="http://schemas.altigen.com/mobility/"><amp:Session>c2lwOmtpbm8uc29uZ0BtY3MuY29tO29wYXF1ZT11c2VyOmVwaWQ6VEJsMkNHVlRmMS1TZ0 阅读全文
posted @ 2012-01-11 14:33 higirle 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 1. Using C# to Create an Excel Documenthttp://www.codeproject.com/KB/cs/Excel_and_C_.aspx2.Write Data to Excel using C#http://www.codeproject.com/KB/cs/WriteDataToExcel.aspx3. 阅读全文
posted @ 2012-01-08 22:27 higirle 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1. Foreach内不能改变value2. Property的使用:小心不用在get;set内在使用property否则会造成死循环,而且很难检查。3. 在刷新UI,不管是直接去刷新还是通过InotifiproperyChange,or IConnectionChanged来出发UI刷新,只要是在非UI线程都要使用异步促发, Dispatch.BeginInvoke(() =>{});否则会产生accorss thread Exception.4. PhoneTask要特殊处理,因为phoneTask调用时,application并没有进入后台,所以也不会进入onNavigationT 阅读全文
posted @ 2012-01-06 13:43 higirle 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 1.Metro style app developmenthttp://msdn.microsoft.com/en-us/windows/apps/2. The Windows Runtimehttp://msdn.microsoft.com/en-us/library/windows/apps/hh464942.aspx 3.Windows Runtime designhttp://msdn.microsoft.com/en-us/library/windows/apps/hh464947.aspx4.BUILD2011http://channel9.msdn.com/Events/Bu.. 阅读全文
posted @ 2012-01-06 12:56 higirle 阅读(248) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/shanyou/archive/2011/09/17/WinRT.html看了个BUILD的PPT,Windows Runtime (RT)并不是一些新闻网站说的那样微软自废.NET武功,而是恰恰相反,WinRT是Win32API的现代版,其中有很深的.NET的基因,是Metro UI的.NET基础,如果考察Metadata的变化,WinRT的API定义的元数据是基于标准ECMA 335,也就是.NET的标准 ,WinRT也是一个沙箱的环境,针对AppStore环境设计的。基础知识微软以推出Windows 8为契机,以解决Windows长期存在的. 阅读全文
posted @ 2012-01-05 17:57 higirle 阅读(492) 评论(0) 推荐(0) 编辑
摘要: http://www.qdppc.com/thread-39443-1-1.html本教程教你如何把WP7越狱(解锁)使你可以安装自制软件(xap包)视频教程:准备工作:1。 确定你装好了Zune。2。 下载这个压缩包,里面包含了3个文件,分别是:ChevronWP7.cer 越狱要用到的证书ChevronWP7.exe 越狱工具jail.reg 如果你没装sdk,需要导入这个注册表文件3。 把ChevronWP7.cer发送到你手机上: 1)可以把证书作为邮件附件,然后发送给自己 2)可以自己架个http服务器,把证书放上去,然后电脑和手机都连接同一个wifi,然后从你的http服务器下载. 阅读全文
posted @ 2012-01-04 13:07 higirle 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 为了更好的理解ObservableCollection是如何自动刷新UI的,下面贴一些ObservableCollection的代码:protectedoverridevoidSetItem(intindex,Titem){this.CheckReentrancy();ToldItem=base[index];base.SetItem(index,item);this.OnPropertyChanged("Item[]");this.OnCollectionChanged(newNotifyCollectionChangedEventArgs(NotifyCollectio 阅读全文
posted @ 2011-12-31 10:36 higirle 阅读(397) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/goodboy1881/article/category/204448 阅读全文
posted @ 2011-12-29 17:10 higirle 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 知道,数据包在局域网上是怎么传输的吗?是靠什么来传输的吗?也许你会说是靠IP地址,那么你只正确了一半。其实真正在传输过程中是靠计算机的网卡地址即MAC来传输。 现在我们就用实例来模拟一下传输的全过程。现在有一台计算机A(IP:192.168.85.1 MAC:AA-AA-AA-AA-AA-AA),另 一台计算机B(IP:192.168.85.100 MAC:BB-BB-BB-BB-BB-BB)现在用A去 ping B。看见 Reply from 192.168.85.100: bytes=32 time<10ms TTL=32 这样的信息。然后在运行中输入 arp -a,会看见 192. 阅读全文
posted @ 2011-12-29 17:08 higirle 阅读(528) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 44 下一页