12 2011 档案
windows phone 7 version: ObservableCollectionEx (2)
摘要:为了更好的理解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 阅读(403) 评论(0) 推荐(0)
【转】:TCP/IP详解学习笔记系列
摘要:http://blog.csdn.net/goodboy1881/article/category/204448 阅读全文
posted @ 2011-12-29 17:10 higirle 阅读(179) 评论(0) 推荐(0)
[转】:网络层 arp协议的作用
摘要:知道,数据包在局域网上是怎么传输的吗?是靠什么来传输的吗?也许你会说是靠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 阅读(552) 评论(0) 推荐(0)
[转】:TCP/IP详解学习笔记(5)
摘要:http://blog.csdn.net/goodboy1881/article/details/695304#commentsTCP/IP详解学习笔记(5)-IP选路,动态选路,和一些细节1.静态IP选路1.1.一个简单的路由表选路是IP层最重要的一个功能之一。前面的部分已经简单的讲过路由器是通过何种规则来根据IP数据包的IP地址来选择路由。这里就不重复了。首先来看看一个简单的系统路由表。Destination Gateway Genmask Flags Metric Ref Use Iface192.168.11.0 * 255.255.255.0 U 0 0 0 eth0169.254. 阅读全文
posted @ 2011-12-29 17:07 higirle 阅读(556) 评论(0) 推荐(0)
如何计算IP地址的网络号和主机号?
摘要:IP地址与网络分类 (1)IP地址 不同的物理网络技术有不同的编址方式;不同物理网络中的主机,有不同的物理网络地址。网间网技术是将不同物理网络技术统一起来的高层软件技术。网间网技术采用一种全局通用的地址格式,为全网的每一网络和每一主机都分配一个网间网地址,以此屏蔽物理网络地址的差异。IP协议提供一种全网间网通用的地址格式,并在统一管理下进行地址分配,保证一个地址对应一台网间网主机(包括网关),这样物理地址的差异被IP层所屏蔽。IP层所用到的地址叫做网间网地址,又叫IP地址。它由网络号和主机号两部分组成,统一网络内的所有主机使用相同的网络号,主机号是唯一的。IP地址是一个32为的二进制数,分成. 阅读全文
posted @ 2011-12-29 16:25 higirle 阅读(22179) 评论(0) 推荐(0)
Voice over IP
摘要:Voice over IPFrom Wikipedia, the free encyclopedia Jump to: navigation, search"Digital voice" redirects here. For the commercial service, see Comcast Digital Voice.This article may require cleanup to meet Wikipedia's quality standards. (Consider using more specific cleanup instructions 阅读全文
posted @ 2011-12-29 14:53 higirle 阅读(966) 评论(0) 推荐(0)
windows phone 7 version: ObservableCollectionEx (1)
摘要:My version is supported for across thread. The following is the source code:usingSystem;usingSystem.Net;usingSystem.Windows;usingSystem.Windows.Controls;usingSystem.Windows.Documents;usingSystem.Windows.Ink;usingSystem.Windows.Input;usingSystem.Windows.Media;usingSystem.Windows.Media.Animation;usin. 阅读全文
posted @ 2011-12-29 13:46 higirle 阅读(352) 评论(0) 推荐(0)
Windows phone 7: DataBinding and UI Refresh系列教程
摘要:1. Data Bindinghttp://msdn.microsoft.com/en-us/library/cc278072(v=VS.95).aspx#change_notification2. Displaying Data with Data Bindinghttp://msdn.microsoft.com/en-us/library/hh407286(v=VS.88).aspx3. INotifyCollectionChanged Interfacehttp://msdn.microsoft.com/en-us/library/system.collections.special.. 阅读全文
posted @ 2011-12-29 13:46 higirle 阅读(228) 评论(0) 推荐(0)
最近想要学习和了解的东东
摘要:1. 知识普及:天煞的HTML5到底是个什么东西 http://news.cnblogs.com/n/126877/2.【C#.NET】长话短说 分布式通信方案综合测评http://www.cnblogs.com/dubing/archive/2011/12/27/2303765.html3.Windows phone 应用开发[6]-Managed Extensibility Framework应用程序扩展http://www.cnblogs.com/chenkai/archive/2011/12/27/2303880.html4. Silverlight中的Button控件的两大特殊属性. 阅读全文
posted @ 2011-12-28 12:25 higirle 阅读(171) 评论(0) 推荐(0)
windows Phone 7如何实现background的情况下不丢失数据
摘要:1. Im Confirm, Call Confirm等。 reveive push notificaion => Activate application => autologin =>server send messgage(如有人给你发消息) to client until the client send confrim to tell server, the message is received and displayed in UI. 对用户来说就像是对方刚发的那条,实际上则是server重新发送的。具体的有时间再写。。。 阅读全文
posted @ 2011-12-23 12:43 higirle 阅读(197) 评论(0) 推荐(0)
MA0003 移动智能网原理
摘要:MA0003 移动智能网原理http://read.pudn.com/downloads153/doc/comm/674345/mobile_intelligent_network.pdf1. Cellular call 的原理1. Client发送消息到server,通知server现在要进行通话,并江手机卡号信息告诉server.2.Client :mak call by cellcuar通过运行商,将信号发给server,server根据trunk号进行转接。3.之后server将通信相关的信息通过网络发给client,client才能显示,client本省的applicaion并不能. 阅读全文
posted @ 2011-12-23 12:39 higirle 阅读(245) 评论(0) 推荐(0)
TCP 网络书籍
摘要:1. tcp-ip详解卷1:协议 2. TCP/IP详解 卷2:实现(英文版)http://www.codepub.com/software/tcp-ip-9653.html3. tcp-ip详解卷3:tcp事务协议,http,nntp和unix域协议tcp-ip技术大全http://www.codepub.com/software/computer-network-basic-9664.html 4. TCP/IP Stack Architecturehttp://msdn.microsoft.com/en-us/library/ms818998.aspx5.http://blog.si.. 阅读全文
posted @ 2011-12-23 11:46 higirle 阅读(384) 评论(0) 推荐(0)
Windows phone 7 开发注意事项
摘要:1. 所有的线程,特别是可能会长时间运行的code,如 while,foreach 循环,一定要加对特定标志位的检查,如是否已经lougout,如果是,那么理论上所有的线程都要停止,否则,重新login,就会出现线程共享问题,和脏数据问题,而且检查起来也特别麻烦。 这个就是异步调用比同步调用所麻烦的地方,呵呵! 特别注意: 循环访问DB的地方,因为这个会比较耗时间,还有就是解读server传来的xml文件时。 2. Sock不可重用,用完后要释放掉。3. 在新的sock建立之前,要将所有和之前的sock相关的所有线程停掉,所有和接收,发送消息的变量清空。4.使用单独的线程来处理发送和接收的相. 阅读全文
posted @ 2011-12-22 16:23 higirle 阅读(234) 评论(0) 推荐(0)
Windows Phone 7 - Performance 系列 (2)
摘要:http://msdn.microsoft.com/en-us/library/hh202934(v=VS.92).aspxWindows Phone Performance Analysis Windows Phone December 15, 2011The Windows Phone Performance Analysis tool is a profiling tool to evaluate and improve the performance of your Windows Phone applications. The Performance Analysis tool .. 阅读全文
posted @ 2011-12-21 10:00 higirle 阅读(321) 评论(0) 推荐(0)
Windows Phone 7.5 - Local SQL Database:总体概况
摘要:http://msdn.microsoft.com/en-us/library/hh202860(v=vs.92).aspxLocal Database Overview for Windows Phone Windows Phone December 15, 2011With Windows Phone OS 7.1, you can store relational data in a local database that resides in your application’s isolated storage container. Windows Phone applicati.. 阅读全文
posted @ 2011-12-21 09:56 higirle 阅读(376) 评论(0) 推荐(0)
Windows Phone 7.5 - Local SQL Database(简介)
摘要:http://www.silverlightshow.net/items/Windows-Phone-7.1-Local-SQL-Database.aspxOnce you start programming Windows Phone just after the first experiments, when you begin writing something of real, immediately you need something to store information locally. Also if the phone is a mobile device and it 阅读全文
posted @ 2011-12-21 09:52 higirle 阅读(316) 评论(0) 推荐(0)
Windows Phone 7.5 - Local SQL Database:Mango Local Database(SQL CE)
摘要:DatabaseWindows Phone Mango Local Database(SQL CE) 系列http://windowsphonegeek.com/tips/Windows-Phone-Mango-Local-Database-SQL-CE--How-to-Delete-databy WindowsPhoneGeekThis is the 13th post from the "Windows Phone Mango Local Database" series of short posts that will cover all you need to kn 阅读全文
posted @ 2011-12-21 09:42 higirle 阅读(292) 评论(0) 推荐(0)
Windows Phone 7.5 - Local SQL Database:How to read the DB schema in windows phone 7
摘要:http://www.codeproject.com/KB/windows-phone-7/ExtractingSQLCEDB.aspxIntroduction By now, most of you have heard that Windows Phone 7 – Mango release will support Local Databases (SQL CE) using Linq to SQL. But what you probably haven’t heard much about is how to extract the .SDF that is created in . 阅读全文
posted @ 2011-12-20 10:57 higirle 阅读(396) 评论(0) 推荐(0)
Hidden Methods - EditorBrowsable
摘要:Hidden Methods - EditorBrowsableRecently while exploring multi-threading with WPF, I came across a method on a WPF control's Dispatcher to check if the current thread has access to the control. myButton.Dispatcher.CheckAccess();Now, the funny thing about this method is that it is a public method 阅读全文
posted @ 2011-12-19 11:26 higirle 阅读(426) 评论(0) 推荐(0)
Make ObservableCollection to thread safe (Updated)
摘要:While playing around with WPF, I tried to do some multithreading where I have a worker thread updating my ObservableCollection, while having a ListCollectionView of that ObservableCollection being shown on a ListBox.It was surprising to see that I get a NotSupportedException thrown, with the messag. 阅读全文
posted @ 2011-12-19 11:25 higirle 阅读(632) 评论(0) 推荐(0)
深入理解windows phone 7之数据绑定
摘要:Data BindingData binding provides a simple way for Silverlight-based applications to display and interact with data. The way data is displayed is separated from the management of the data. A connection, or binding, between the UI and a data object allows data to flow between the two. When a binding. 阅读全文
posted @ 2011-12-16 17:52 higirle 阅读(308) 评论(0) 推荐(0)
Windows Phone 7 - Performance 系列 (1)
摘要:--Windows Phone 7 性能调优Check out this page in {0} translated from {1}translated fromOriginal:Translated:Automatic translation powered by Microsoft® TranslatorStart translatingStop translatingCloseClose and show original pageSelect Silverlight for Windows Phone 7: ListBox Scroll PerformanceHaving 阅读全文
posted @ 2011-12-16 10:03 higirle 阅读(263) 评论(0) 推荐(0)
Windows Phone 7 数据绑定与UI 刷新: Displaying Data with Data Binding
摘要:Displaying Data with Data BindingChange NotificationIn order for changes to the source object to propagate to the target, the source must implement the INotifyPropertyChanged interface. INotifyPropertyChanged has the PropertyChanged event, which tells the binding engine that the source has changed.. 阅读全文
posted @ 2011-12-15 15:02 higirle 阅读(337) 评论(0) 推荐(0)
Microsoft Technooley Web side
摘要:http://msdn.microsoft.com/en-us/Webcast 系列课程http://www.microsoft.com/china/msdn/events/webcasts/shared/webcast/Series.aspxhttp://www.microsoft.com/en-us/default.aspx Windows PhoneWindows Phone development is similar to Windows development, but with a different device at its core. To simplify develo. 阅读全文
posted @ 2011-12-14 13:27 higirle 阅读(282) 评论(0) 推荐(0)
NetworkCredential
摘要:NetworkCredential 阅读全文
posted @ 2011-12-02 18:10 higirle 阅读(616) 评论(0) 推荐(0)
【转】:VSTO将Outlook批量邮件导出Word
摘要:http://blog.csdn.net/jjkcom/article/details/6949394VSTO将Outlook批量邮件导出Word分类: VSTOoutlookwordVS2010c#2011-11-08 19:4128人阅读评论(0)收藏举报 VS2010将Outlook邮件导出成Word文档格式 周末加班,整理一下outlook中的邮件,其中有个几个邮件目录中的文件都是重要的资料,想要导出成word,于是按照我的思维惯性,首先手工实现了一次,大概工序如下:1、首先打开邮件,ctrl+A全选邮件;2、然后在备份目录下新建一个word文档,黏贴进去;3、重命名word文件; . 阅读全文
posted @ 2011-12-02 16:21 higirle 阅读(665) 评论(0) 推荐(0)
【转】Windows下搭建object-c
摘要:Windows下搭建object-c 2011-07-15 22:18 272人阅读 评论(0) 收藏 举报 近打算针对iPhone、iPod touch和iPad开发一些应用,所以,需要开始学习Objective C(苹果推出的类似C语言的开发语言)。由于苹果的自我封闭的产业链发展模式(从芯片、机器、开发语言、终端产品、服务)的限制,要想开发针对苹果iPhone等产品的应用程序,就需要用Mac机器,在Xcode的IDE上使用Objective C语言开发。Mac机器就不用说了,那比PC机器要贵不少(当然性价比还是很高的),所以,要想廉价方式学习Objective C就必须要在Window.. 阅读全文
posted @ 2011-12-02 16:12 higirle 阅读(462) 评论(0) 推荐(0)
XML CDATA
摘要:http://www.w3schools.com/xml/xml_cdata.aspAll text in an XML document will be parsed by the parser.But text inside a CDATA section will be ignored by the parser.PCDATA - Parsed Character DataXML parsers normally parse all the text in an XML document.When an XML element is parsed, the text between th 阅读全文
posted @ 2011-12-01 09:04 higirle 阅读(305) 评论(0) 推荐(0)