经验点滴Winform
文章平均质量分 78
freehul
这个作者很懒,什么都没留下…
展开
-
如何在C#中读写INI文件
INI文件就是扩展名为“ini”的文件。在Windows系统中,INI文件是很多,最重要的就是“System.ini”、“System32.ini”和“Win.ini”。该文件主要存放用户所做的选择以及系统的各种参数。用户可以通过修改INI文件,来改变应用程序和系统的很多配置。但自从Windows 95的退出,在Windows系统中引入了注册表的概念,INI文件在Windows系统的地位就开始不断原创 2005-01-18 23:05:00 · 1932 阅读 · 0 评论 -
将Image对象和byte[]互相转换
//需要引入的命名空间using System;using System.IO;using System.Drawing;using System.Runtime.Serialization.Formatters.Binary; //引入供序列化Image对象使用//以下为转换方法//将Image转换为byte[]public byte[] ConvertImage(Image image){原创 2005-01-19 03:31:00 · 14922 阅读 · 1 评论 -
[转贴]很强的c#.net函数列表
文章来源自Johnny的专栏地址: http://blog.csdn.net/gztoby/archive/2004/08.aspx1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=curr转载 2005-01-18 23:13:00 · 1207 阅读 · 2 评论