摘要: using System; using System.IO; using System.Web; using System.Drawing; using System.Drawing.Imaging; using System.Drawing.Drawing2D; using System.Xml.Serialization; namespace ZMM.Core { /// ... 阅读全文
posted @ 2018-10-17 15:45 冷瞳ruin 阅读(215) 评论(0) 推荐(0) 编辑
摘要: #region 序列化 /// /// XML序列化 /// /// 序列对象 /// XML文件路径 /// 是否成功 public static bool SerializeToXml(object obj, string filePath) { ... 阅读全文
posted @ 2018-10-17 15:41 冷瞳ruin 阅读(386) 评论(0) 推荐(1) 编辑
摘要: /// /// 普通帮助类 /// public class CommonHelper { //星期数组 private static string[] _weekdays = { "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" }; //空格、回车、换行符、制表... 阅读全文
posted @ 2018-10-17 15:36 冷瞳ruin 阅读(478) 评论(1) 推荐(1) 编辑
摘要: public static bool CheckAgent() { bool flag = false; string agent = HttpContext.Current.Request.UserAgent; string[] keywords = { "Android", "iPhone", 阅读全文
posted @ 2018-10-17 15:31 冷瞳ruin 阅读(694) 评论(0) 推荐(1) 编辑