2009年8月31日

摘要: Using events is a common way to synchronize threaded applications. In this scenario, each thread raises an event to signal its status to the main program or other threads. Other parts of the application, outside the thread that raised the event, handle the event and process the information. NoteWhen 阅读全文
posted @ 2009-08-31 23:17 做个不善的人 阅读(180) 评论(0) 推荐(0)
 
摘要: DependencyObject :The base class for all objects that have dependency properties. This class must be inherited. [Represents an object that participates in the dependency property system.]DependencyObject services and characteristics include the following:Dependency property hosting support.Attached 阅读全文
posted @ 2009-08-31 16:51 做个不善的人 阅读(217) 评论(0) 推荐(0)
 

2009年8月30日

摘要: 在C#中,既可以通过值也可以通过引用传递参数。通过引用传递参数允许函数成员更改参数的值,并保持该更改。若要通过引用传递参数,可使用ref或out关键字。ref和out这两个关键字都能够提供相似的功效,其作用也很像C中的指针变量。它们的区别是:1、使用ref型参数时,传入的参数必须先被初始化。对out而言,必须在方法中对其完成初始化。2、使用ref和out时,在方法的参数和执行方法时,都要加Ref或Out关键字。以满足匹配。3、out适合用在需要retrun多个返回值的地方,而ref则用在需要被调用的方法修改调用者的引用的时候。注:在C#中,方法的参数传递有四种类型:传值(by value),传 阅读全文
posted @ 2009-08-30 23:34 做个不善的人 阅读(274) 评论(0) 推荐(0)
 
摘要: In general, the simplest way to view the COM threading architecture is to think of all the COM objects in the process as divided into groups called apartments. A COM object lives in exactly one apartment, in the sense that its methods can legally be directly called only by a thread that belongs to t 阅读全文
posted @ 2009-08-30 23:26 做个不善的人 阅读(845) 评论(0) 推荐(0)
 
摘要: GSMGSM全名为:Global System for Mobile Communications,中文为全球移动通讯系统,俗称"全球通",是一种起源于欧洲的移动通信技术标准,是第二代移动通信技术,其开发目的是让全球各地可以共同使用一个移动电话网络标准,让用户使用一部手机就能行遍全球。我国于20世纪90年代初引进采用此项技术标准,此前一直是采用蜂窝模拟移动技术,即第一代GSM技术(2001年12月31日我国关闭了模拟移动网络)。目前,中国移动、中国联通各拥有一个GSM网,为世界最大的移动通信网络。GSM使用的是时分多址的变体,并且它是目前三种数字无线电话技术(TDMA、GS 阅读全文
posted @ 2009-08-30 10:42 做个不善的人 阅读(1618) 评论(0) 推荐(0)
 
摘要: RTPsdfsReal-time Transport Protocol)是用于Internet上针对多媒体数据流的一种传输层协议。RTP协议详细说明了在互联网上传递音频和视频的标准数据包格式。RTP协议常用于流媒体系统(配合RTCP协议),视频会议和一键通(Push to Talk)系统(配合H.323或SIP),使它成为IP电话产业的技术基础。RTP协议和RTP控制协议RTCP一起使用,而且它是建立在UDP协议上的。RTP 本身并没有提供按时发送机制或其它服务质量(QoS)保证,它依赖于低层服务去实现这一过程。 RTP 并不保证传送或防止无序传送,也不确定底层网络的可靠性。 RTP 实行有序 阅读全文
posted @ 2009-08-30 09:49 做个不善的人 阅读(15388) 评论(0) 推荐(1)
 

2009年8月29日

摘要: 在加载Assembly的时候有三种Load Context可以选择:Load Context通常来说,当通过探测 GAC,host assembly store (if hosted), 或者 the ApplicationBase / PrivateBinPaths of the AppDomain来找到指定的Assembly时,被加载到Load Context中。LoadFrom Contex... 阅读全文
posted @ 2009-08-29 18:17 做个不善的人 阅读(1249) 评论(0) 推荐(0)
 

2009年8月28日

摘要: BindingFlagsThese BindingFlags control binding for a great many classes in the System, System.Reflection, and System.Runtime namespaces that invoke, create, get, set, and find members and types.The binding flags can be categorized by how they identify a type member, as listed in the following table. 阅读全文
posted @ 2009-08-28 18:37 做个不善的人 阅读(450) 评论(0) 推荐(0)
 

2009年8月27日

摘要: ConceptsPeer: 每个Control类有一个Peer类,这个Peer类expose其对应的Control给UI Automation. Each AutomationPeer exposes the corresponding Microsoft .NET Framework control to Microsoft UI Automation.Control Pattern:Control patterns provide a way to categorize and expose a control's functionality independent of the 阅读全文
posted @ 2009-08-27 16:06 做个不善的人 阅读(1007) 评论(0) 推荐(0)
 

2009年8月21日

摘要: VideoRaw VideoYV12 - YCrCb(4:2:0)RGBA - 32 bit Alpha Red, Green, BlueWMV1: Windows Media Video 7WMV2: Windows Media Video 8WMV3: Windows Media Video 9Supports Simple and Main Profiles.Supports only progressive (non-interlaced) content.WMVA: Windows Media Video Advanced Profile, non-VC-1WVC1: Windows 阅读全文
posted @ 2009-08-21 17:12 做个不善的人 阅读(96888) 评论(0) 推荐(0)