2009年8月7日

摘要: There are 3 different Timers in C# System.Windows.Forms.Timer System.Threading.Timer System.Timers.Timer I will introduce them separately 1. System.Windows.Forms.Timer A Timer is used to raise an eve... 阅读全文
posted @ 2009-08-07 16:39 做个不善的人 阅读(1073) 评论(0) 推荐(0)
 
摘要: JSON, short for JavaScript Object Notation, is a lightweight computer data interchange format. It is a text-based, human-readable format for representing simple data structures and associative arrays (called objects).The JSON format is often used for serialization, transmitting structured data over 阅读全文
posted @ 2009-08-07 13:32 做个不善的人 阅读(779) 评论(0) 推荐(0)
 
摘要: Basics:1. Before allowing a connection to a network resource, the Silverlight runtime will try to download a security policy file from the domain that hosts the network resource. There are two different methods used to download the security policy that depend on whether the connection request was fr 阅读全文
posted @ 2009-08-07 13:08 做个不善的人 阅读(576) 评论(0) 推荐(0)
 

2009年8月6日

摘要: 跟exe有个main或者WinMain入口函数一样,DLL也有一个入口函数,就是DllMain。An optional entry point into a dynamic-link library (DLL). When the system starts or terminates a process or thread, it calls the entry-point function for each loaded DLL using the first thread of the process. The system also calls the entry-point func 阅读全文
posted @ 2009-08-06 16:42 做个不善的人 阅读(609) 评论(0) 推荐(0)
 

2009年7月31日

摘要: In the field of video compression a video frame is compressed using different algorithms with different advantages and disadvantages, centered mainly around amount of data compression. These different algorithms for video frames are called picture types or frame types. The three major picture types 阅读全文
posted @ 2009-07-31 15:21 做个不善的人 阅读(424) 评论(0) 推荐(0)
 
摘要: Base64是一种使用64基的位置计数法。它使用2的最大次方来代表仅可打印的ASCII 字符。这使它可用来作为电子邮件的传输编码。在Base64中的变量使用字符A-Z、a-z和0-9 ,这样共有62个字符,用来作为开始的64个数字,最后两个用来作为数字的符号在不同的系统中而不同。一些如uuencode的其他编码方法,和之后binhex的版本使用不同的64字符集来代表6个二进制数字,但是它们不叫Base64。在MIME格式的电子邮件中,base64可以用来将binary的字节序列数据编码成ASCII字符序列构成的文本。使用时,在传输编码方式中指定base64。使用的字符包括大小写字母各26个,加 阅读全文
posted @ 2009-07-31 13:18 做个不善的人 阅读(641) 评论(0) 推荐(0)
 

2009年7月28日

摘要: When you use windowless mode with the Silverlight plug-in, you are effectively telling the browser to render your Silverlight content directly, instead of giving the plug-in its own window for renderi... 阅读全文
posted @ 2009-07-28 13:24 做个不善的人 阅读(966) 评论(2) 推荐(0)
 

2009年7月24日

摘要: Windows Path[1]In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined as 260 characters. A local path is structured in the following order: drive letter, colon, backslash, components separated by backslashes, and . 阅读全文
posted @ 2009-07-24 17:56 做个不善的人 阅读(648) 评论(0) 推荐(0)
 

2009年7月17日

摘要: DIB,全称Device Independent Bitmap,设备无关位图文件,这是一种文件格式,其目的是为了保证用某个应用程序创建的位图图形可以被其它应用程序装载或显示一样。 DIB(Device-indepentent bitmap)的与设备无关性主要体现在以下两个方面:DIB的颜色模式与设备无关。例如,一个256色的DIB即可以在真彩色显示模式下使用,也可以在16色模式下使用。256色以下(包括256色)的DIB拥有自己的颜色表,像素的颜色独立于系统调色板。由于DIB不依赖于具体设备,因此可以用来永久性地保存图象。DIB一般是以*.BMP文件的形式保存在磁盘中的,有时也会保存在*.DI 阅读全文
posted @ 2009-07-17 22:14 做个不善的人 阅读(4201) 评论(0) 推荐(0)
 
摘要: 在计算机中表示颜色的模式有好几种,在HTML网页设计中使用的是RGB模式。红光、绿光、蓝光是色光加光混合的三基色, 通过红光、绿光、蓝光不同比例的组合,能产生任何颜色的光。 计算机的显示器显示画面是靠显示器屏幕的微小的发光点发出不同比例的红光、绿光、蓝光三种颜色的光而显出千变万化的画面。 RGB色彩模式就是用R表示红光的分量,用G表示绿光的分量,用B表示蓝光的分量,RGB数据就可以表示出任何一种颜色, 任何一种颜色也可以用一个RGB数据表示出来。在文字格式一文中曾说过color属性的取值有用英文关键字、16进制颜色代码、rgb函数三种类型。现在我们就来学习16进制颜色代码的组成和表示不同色彩的 阅读全文
posted @ 2009-07-17 01:09 做个不善的人 阅读(875) 评论(0) 推荐(0)