2012年8月23日
摘要: 在做项目时,经常会有些字典信息保存到数据库中,在应用程序启动时需要加载到内存中,方便程序随时调用。直接上代码:using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.OleDb;namespace TagReceiver{ class AccessHelper { string accessPath = ""; /// <summary> /// 读... 阅读全文
posted @ 2012-08-23 14:39 onedime 阅读(2504) 评论(0) 推荐(0) 编辑
摘要: 本文介绍了一个用C#写的注册表操作类,实现了对注册表的读、写、删、查。 阅读全文
posted @ 2012-08-23 14:21 onedime 阅读(12189) 评论(2) 推荐(3) 编辑
摘要: 介绍了一个用C#写的日志类,并附上代码。 阅读全文
posted @ 2012-08-23 14:04 onedime 阅读(14137) 评论(0) 推荐(0) 编辑
摘要: 介绍了如何在C#窗体中设置默认按钮和取消按钮。 阅读全文
posted @ 2012-08-23 13:53 onedime 阅读(6285) 评论(0) 推荐(0) 编辑