代码改变世界

SerialPort 的使用

2010-01-25 21:10 by c#在路上, 839 阅读, 0 推荐, 收藏,
摘要:/Files/csharponworking/SerialPortMonitor.zip 阅读全文

C#数据库帮助类,包括新建数据库,删除数据库,还原数据库

2010-01-19 18:42 by c#在路上, 2256 阅读, 2 推荐, 收藏,
摘要:数据库连接字符串从配置文件读取。代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections;usingSystem.Collections.Specialized;usingSystem.... 阅读全文

c#编写Windos服务,以及部署安装过程。

2010-01-14 17:05 by c#在路上, 994 阅读, 0 推荐, 收藏,
摘要:源码:/Files/csharponworking/FileMonitorService.zip主要代码:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections;usingSystem... 阅读全文

进度窗口显示

2010-01-12 14:06 by c#在路上, 701 阅读, 0 推荐, 收藏,
摘要:显示像vs那样的,先进度窗口之后,在去打开主窗口。代码如下:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--/**CreatedbySharpDevelop.*User:admin*Date:2010-1-11*Time:12:43**Tochan... 阅读全文

单线程读文件

2010-01-11 23:21 by c#在路上, 328 阅读, 0 推荐, 收藏,
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Threading;usingSystem.IO;na... 阅读全文

异步读取文件

2010-01-11 09:08 by c#在路上, 4068 阅读, 0 推荐, 收藏,
摘要:异步读取文件,读取完成之后触发事件,通知主线程。主线程与读取文件的线程互相独立。代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Text... 阅读全文

生产者,消费者线程

2010-01-10 01:57 by c#在路上, 477 阅读, 0 推荐, 收藏,
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Threading;usingSystem.Collections.Generic;namespaceTestThreadDemos{///<su... 阅读全文

单实例运行程序

2010-01-10 01:56 by c#在路上, 363 阅读, 0 推荐, 收藏,
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Threading;namespaceSignleApplication{classProgram{///<summary>///定义信号量... 阅读全文

限制线程的执行个数

2010-01-07 21:43 by c#在路上, 3201 阅读, 0 推荐, 收藏,
摘要:限制只有三个线程能够执行代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Threading;namespaceLimitThread{classProgram{staticSemaphoresemah... 阅读全文

线程服务的停止与启动

2010-01-07 21:06 by c#在路上, 5257 阅读, 0 推荐, 收藏,
摘要:自己写服务的话,有线程的启动与停止,所以写了简单的实现的代码。代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Text;namespac... 阅读全文
上一页 1 ··· 7 8 9 10 11 12 下一页