http://www.codeproject.com/Articles/746191/SQLite-Helper-CsharpThis small class
(SQLiteHelper.cs) is built on top of System.Data.SQLite.DLL. A referen...
分类:
数据库 时间:
2014-05-23 12:08:00
阅读次数:
558
public void uploadLocalFileToServer(String
uploadFileName){ String AutomationPath = System.getProperty("user.dir"); String
filePath=AutomationPath+".....
分类:
其他好文 时间:
2014-05-23 12:00:15
阅读次数:
502
C#中查询字符串中是否包含指定字符/串,使用IndexOf还是Contains?这是一个很常见的命题,以前也没有注意,今天QQ群里有人提起,于是就做了下试验,代码如下:using
System;using System.Diagnostics;namespace ConsoleApplication...
分类:
其他好文 时间:
2014-05-23 11:50:40
阅读次数:
270
为啥图形窗口接口要称为 X 呢?因为就英文字母来看 X 是在W(indow)
后面,因此,人们就戏称这一版的窗口接口为 X ,有下一版新窗口之意X系统由3个相关的部分组合起来的。 服务端(Server)
Server是控制显示器和输入设备(键盘和鼠标)等硬件的软件。它负责检测具体那个设备有什么...
总结以下三种方法,实现c#每隔一段时间执行代码:方法一:调用线程执行方法,在方法中实现死循环,每个循环Sleep设定时间;方法二:使用System.Timers.Timer类;方法三:使用System.Threading.Timer;123456789101112131415161718192021...
分类:
编程语言 时间:
2014-05-23 11:10:18
阅读次数:
379
using System;using
System.Collections.Generic;using System.IO;using System.Linq;using
System.Reflection;using System.Runtime.InteropServices;namespace...
分类:
其他好文 时间:
2014-05-23 10:59:24
阅读次数:
223
此例子中传递的变量有string type,string
text,储存在结构数组中;static int
i储存在Sta类中(如果在外面声明,调用它老出错),里面有geti和seti函数来操纵它。各个窗体实现功能及截图:各窗体代码如下:using
System;using System.Colle...
参考资料《大话设计模式》Mediator(中介者)模式:使各个对象不需要显式的相互调用,从而使其耦合松散。using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespace
ds_me...
分类:
其他好文 时间:
2014-05-23 10:13:17
阅读次数:
331
参考资料《大话设计模式》职责链模式:using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespace
ds_chainofresponsibility{ class Progr...
分类:
其他好文 时间:
2014-05-20 12:52:03
阅读次数:
328
1. 进程是unix系统中两个最重要的基础抽象之一(另一个是文件)A process is a
running programA thread is the unit of activity inside of a processthe
virtualization of memory is ass...
分类:
系统相关 时间:
2014-05-20 12:33:05
阅读次数:
407