摘要: public static class DynamicFactory { //创建线程安全(对象不会再同一时刻被多个线程访问)的字典对象 private static ConcurrentDictionary s_dynamicTypes = new Concur... 阅读全文
posted @ 2014-10-29 10:32 zhuweirandy 阅读(268) 评论(0) 推荐(0) 编辑
摘要: using System.Web.Script.Serialization;using System.Collections.Generic;using System.Reflection;using System.Data;using System;namespace CommonCode{ ... 阅读全文
posted @ 2014-10-29 10:25 zhuweirandy 阅读(385) 评论(0) 推荐(0) 编辑
摘要: using System.Runtime.InteropServices;using System.Text;namespace FaureciaManager{ public class FileINI { /// /// 写操作 /// ... 阅读全文
posted @ 2014-10-29 10:08 zhuweirandy 阅读(242) 评论(0) 推荐(1) 编辑
摘要: // /// 实体类序列化成xml /// /// 实体. /// 节点名称 /// public static string ObjListToXml(List enititie... 阅读全文
posted @ 2014-10-29 10:04 zhuweirandy 阅读(424) 评论(0) 推荐(0) 编辑
摘要: /// /// 自动关闭Messbox /// public class MessageBoxAutoClose { System.Threading.Timer _timeoutTimer; string _caption; ... 阅读全文
posted @ 2014-10-29 10:03 zhuweirandy 阅读(381) 评论(0) 推荐(0) 编辑