摘要: 在开发过程中,我们难免遇到类型转换问题,有时我们一般采用直接转换来完成,这样每次遇到都要重复使用,我这里偷个懒,写了个类,可以实现“复用”了。^-^.Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1publicclassUti... 阅读全文
posted @ 2008-02-15 19:36 Lucky Jack 阅读(411) 评论(2) 推荐(0) 编辑
摘要: WinForm的资源文件中,将PictureBox的Image属性等非文字内容都转变成文本保存,这是通过序列化(Serialization)实现的,例子://usingSystem.Runtime.Serialization.Formatters.Soap;Streamstream=newFileStream("E:\\Image.xml",FileMode.Create,FileAccess.W... 阅读全文
posted @ 2008-02-15 18:09 Lucky Jack 阅读(548) 评论(0) 推荐(0) 编辑