2017年4月19日
摘要: 1 /// <summary> 2 /// 获取工作目录的所有节点,包括子目录 3 /// </summary> 4 /// <param name="workingCopyDir"></param> 5 /// <returns></returns> 6 public List<LocalNode 阅读全文
posted @ 2017-04-19 14:55 油纸伞 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 1 public static string GetRelativePath(string baseDirPath, string subFullPath) 2 { 3 // ForceBasePath to a path 4 if (!baseDirPath.EndsWith("\\")) 5 ... 阅读全文
posted @ 2017-04-19 14:51 油纸伞 阅读(2357) 评论(0) 推荐(0) 编辑
摘要: 1 /// <summary> 2 /// Dictionary(支持 XML 序列化) 3 /// </summary> 4 /// <typeparam name="TKey">键类型</typeparam> 5 /// <typeparam name="TValue">值类型</typepar 阅读全文
posted @ 2017-04-19 09:24 油纸伞 阅读(3955) 评论(1) 推荐(0) 编辑
摘要: 本文提供了Checkbox与CheckedListBox、DataGridViewCheckBoxColumn等的联动关系 1、CheckboxAssociateFactroy.Create创建联动关系实例 2、Checkbox侧的抽取的接口 3、集合列表如CheckedListBox/DataGr 阅读全文
posted @ 2017-04-19 09:20 油纸伞 阅读(1008) 评论(0) 推荐(0) 编辑
摘要: 1 /// 2 /// Image(支持 XML 序列化) 3 /// 4 [XmlRoot("XmlImage")] 5 public class XmlImage : IXmlSerializable 6 { 7 public System.Drawing.Image Image { get; set; } ... 阅读全文
posted @ 2017-04-19 09:00 油纸伞 阅读(939) 评论(0) 推荐(0) 编辑
摘要: C# LINQ TO XML - Remove “[]” characters from the DTD header http://stackoverflow.com/questions/12358061/c-sharp-linq-to-xml-remove-characters-from-the 阅读全文
posted @ 2017-04-19 08:58 油纸伞 阅读(366) 评论(0) 推荐(0) 编辑