摘要: KMP C++实现 阅读全文
posted @ 2017-10-07 22:34 韵切 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 1 class XmlClass 2 { 3 public string Pathname; //总列表 4 public XmlClass() 5 { 6 string str = System.AppDomain.CurrentDomain.BaseDirectory; 7 ... 阅读全文
posted @ 2017-06-28 22:39 韵切 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Binding bind = new Binding() { Source = new BackgroundPath(), Path = new PropertyPath("BindSource") }; faceImge.SetBinding(Image.SourceProperty,bind); 阅读全文
posted @ 2017-06-13 18:06 韵切 阅读(224) 评论(0) 推荐(0) 编辑
摘要: class BackgroundPath:Image { public event PropertyChangedEventHandler PropertyChanged; static BackgroundPath() { BindSourceProperty = DependencyPro... 阅读全文
posted @ 2017-06-13 17:10 韵切 阅读(374) 评论(0) 推荐(0) 编辑
摘要: https://unix.stackexchange.com/questions/181503/how-to-install-desktop-environments-on-centos-7 阅读全文
posted @ 2017-06-02 18:01 韵切 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 反序列化 Xml 文档 阅读全文
posted @ 2017-05-25 16:25 韵切 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 序列化对象 要序列化对象,首先创建要序列化的对象并设置其公共属性和字段。为此,您必须确定要将XML流存储的传输格式,作为流或文件。 例如,如果XML流必须以永久形式保存,则创建一个FileStream对象。 序列化对象 创建对象并设置其公共字段和属性。 构造一个XmlSerializer的使用对象的 阅读全文
posted @ 2017-05-22 18:54 韵切 阅读(409) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2017-05-02 16:01 韵切 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.IO; 4 using System.Linq; 5 using System.Runtime.InteropServices.WindowsRuntime; 6 using System.Threading.Tasks; 7 using Windo... 阅读全文
posted @ 2017-04-25 19:50 韵切 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 当我注意到WinRT缺少Thread.Sleep功能时,我感到惊讶。幸运的是,MSDN论坛提供了以下代码段,它很好地提供了相同的功能: 1 static void Sleep(int ms) 2 { 3 new System.Threading.ManualResetEvent(false).Wai 阅读全文
posted @ 2017-04-25 16:37 韵切 阅读(319) 评论(0) 推荐(0) 编辑