写的不错,打赏一下
摘要: 获取方法: ABP CustomConfig WebConfig配置: 使用方法: 阅读全文
posted @ 2015-09-29 20:57 不负春光,努力生长 阅读(1520) 评论(0) 推荐(0) 编辑
摘要: 配置文件格式: 配置文件路径:ConfigFiles/Ford/ErrorResource.xml 阅读全文
posted @ 2015-09-29 20:48 不负春光,努力生长 阅读(501) 评论(0) 推荐(0) 编辑
摘要: public void SaveDownLoadAsPNG(Image img, string filePath) { try { WebRequest request = WebRequest.Create(filePath); SaveFileDialog sfd ... 阅读全文
posted @ 2015-05-28 09:52 不负春光,努力生长 阅读(363) 评论(0) 推荐(0) 编辑
摘要: InstallService.bat @ECHO OFFecho 准备安装服务echo echo 安装服务...Sc create "KenTestService" binpath= "L:\Job\KenTestJob\JobService\KenTestService.exe" displayn 阅读全文
posted @ 2015-03-23 15:21 不负春光,努力生长 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 我是在11年的时候开始接触到博客园,之前混迹在CSDN,其实那个时候上CSDN的原因很简单,就是为了下载一个能应付老师的课程设计,并没有技术男的那种热情,那个时候还是很迷茫,不知道自己毕业以后要干什么,自己能干什么。 11年下半学期来的时候已经到了大学的关键时刻,面临着专业分方向,而且突然之间从大二 阅读全文
posted @ 2015-02-14 12:29 不负春光,努力生长 阅读(4711) 评论(40) 推荐(12) 编辑
摘要: public class ConfigHelper { public static ScriptsHelper Scripts { get { return new ScriptsHelper(); } } public static ParametersHelper Parameters ... 阅读全文
posted @ 2015-01-15 19:01 不负春光,努力生长 阅读(346) 评论(0) 推荐(0) 编辑
摘要: /// /// 正则表达式相关方法集合 /// public static class RegularHelper { private const string m_NumberPattm = @"^[-+]?(0{1}|(([1-9]){1}[0-9]{0,6}))?$"; private const string m_Num... 阅读全文
posted @ 2014-12-24 21:56 不负春光,努力生长 阅读(285) 评论(0) 推荐(0) 编辑
摘要: internal class EncryptTransform { //private const int c_MaxLengthOf_IV_DES = 4; //private const int c_MaxLengthOf_IV_RC2 = 4; //private const int c_MaxLengthOf_IV_RIJNDAEL... 阅读全文
posted @ 2014-12-24 21:55 不负春光,努力生长 阅读(304) 评论(0) 推荐(0) 编辑
摘要: public static class EncryptionHelper { #region const /// /// 默认使用的适合于DES,RC2算法的Key /// private const string m_ShortDefaultKey = "Nesc"; /// ... 阅读全文
posted @ 2014-12-24 21:53 不负春光,努力生长 阅读(320) 评论(0) 推荐(0) 编辑
摘要: private static XmlWriterSettings GetSettings() { XmlWriterSettings settings = new XmlWriterSettings(); settings.Indent = true; settings.NewLineChars = "\n... 阅读全文
posted @ 2014-12-24 21:52 不负春光,努力生长 阅读(267) 评论(0) 推荐(0) 编辑
摘要: public static class EnumHelper { #region get /// /// 获得枚举类型所包含的全部项的列表 /// /// 枚举的类型 /// public static List GetEnumItems(Type enumTyp... 阅读全文
posted @ 2014-12-24 21:50 不负春光,努力生长 阅读(416) 评论(0) 推荐(0) 编辑
摘要: public static T LoadFromXml(string fileName) { FileStream fs = null; try { XmlSerializer serializer = new XmlSerializer(typeof(T)); ... 阅读全文
posted @ 2014-12-24 21:49 不负春光,努力生长 阅读(307) 评论(0) 推荐(0) 编辑
摘要: public static class ExtendHelper { /// /// 检查当前字符串是否符合某种格式 /// /// /// /// public static bool IsMatch(this string thisValue, string re... 阅读全文
posted @ 2014-12-24 21:44 不负春光,努力生长 阅读(227) 评论(0) 推荐(0) 编辑
摘要: public static ObservableCollection Transform(List target) where F : new() { ObservableCollection source = new ObservableCollection(); for (int i ... 阅读全文
posted @ 2014-12-24 21:42 不负春光,努力生长 阅读(195) 评论(0) 推荐(0) 编辑
摘要: public class ConfigInfo { public static ScriptsHelper Scripts { get { return new ScriptsHelper(); } } public static ParametersHelper Parameters ... 阅读全文
posted @ 2014-12-24 21:41 不负春光,努力生长 阅读(321) 评论(0) 推荐(0) 编辑