摘要: 本人使用的Google拼音输入法,里面有个自定义词组,功能太弱了。希望谷歌的工程师能看到这篇文章。切换输入法到中文模式:1.输入html5.new空格键,别回车,那样是直接为html5.new了。<!DOCTYPE HTML><html><head><title>新建文档</title></head><body></body></html>2.html5.dtd 空格<!DOCTYPE HTML>3.face.laugh插入表情4.media.play(test.mp3)输入 阅读全文
posted @ 2012-08-30 11:10 xcf007 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 很久没研究前端的东西,现在体验下Canvas的魅力。 1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <title>Html5 之 Canvas</title> 5 <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> 6 <style type="text/css"> 7 body 8 { 9 font-size:inherit;10 .. 阅读全文
posted @ 2012-07-10 13:25 xcf007 阅读(559) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.albahari.com/threading/part5.aspxPART 5: PARALLEL PROGRAMMING(占位) 阅读全文
posted @ 2012-06-30 14:36 xcf007 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.albahari.com/threading/part4.aspxPART 4: ADVANCED THREADING非阻塞同步Earlier, we said that the need for synchronization arises even in the simple case ofassigning or incrementing a field. Althoughlockingcan always satisfy this need, a contended lock means that a thread mustblock, suffering 阅读全文
posted @ 2012-06-30 14:28 xcf007 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 原文http://www.albahari.com/threading/part3.aspxPART 3: USING THREADS基于事件的异步模式(占位) 阅读全文
posted @ 2012-06-30 14:26 xcf007 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.albahari.com/threading/part2.aspxPART 2: BASIC SYNCHRONIZATION同步之本质So far, we’ve described how to start a task on a thread, configure a thread, and pass data in both directions. We’ve also described how local variables are private to a thread and how references can be shared among thre 阅读全文
posted @ 2012-06-30 14:24 xcf007 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.albahari.com/threading/PART 1: GETTING STARTED概念与简介C# supports parallel execution of code through multithreading. A thread is an independent execution path, able to run simultaneously with other threads.C#通过多线程来支持代码的并行执行。一个线程是一个独立的执行路径,可以与其它线程同时运行。A C#clientprogram (Console, WPF, or Wi 阅读全文
posted @ 2012-06-30 14:18 xcf007 阅读(326) 评论(0) 推荐(0) 编辑
摘要: The Chromium projects include Chromium and Chromium OS, the open-source projects behind theGoogle Chromebrowser and Google Chrome OS, respectively. This site houses the documentation and code related to the Chromium projects and is intended for developers interested in learning about and contributin 阅读全文
posted @ 2012-06-30 13:57 xcf007 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 6.绑定数据源除了使用Items我们还可以绑定数据源方式设置List,不过这样的话,Items属性会被忽略。 1 <dx:ASPxComboBox ID="cboTypeOfServ" runat="server" AutoPostBack="True" 2 OnSelectedIndexChanged="cboTypeOfServ_SelectedIndexChanged" 3 DataSourceID="ChartTypeData" ImageUrlField="icon&q 阅读全文
posted @ 2012-06-29 18:11 xcf007 阅读(2212) 评论(0) 推荐(0) 编辑
摘要: 你可以以多种方式查询实体数据模型。有些你可以根据个人偏好选择,而有些选择可以给你带来一定好处。或许你听说过LINQ to Entities和实体SQL.你也可以使用特殊的方法来表示查询(有些是基于LINQ,而一些是基于实体框架的ObjectQuery类)。每种查询风格都可以得到组织过的对象。有一个不太为人所知的查询方式是使用实体框架的EntityClient API,它可以让你在程序里使用流式的原始数据。在本章,你有机会尝试下所有这些不同风格的查询。你会使用不同的机制反复书写几个简单的查询并查看结果,以便可以看到这些不同的查询方法彼此之间如何相关的。在本章的末尾,你就能够对所有的查询选项以及它 阅读全文
posted @ 2012-06-29 12:41 xcf007 阅读(635) 评论(1) 推荐(1) 编辑